.travis.yml
language: ruby
cache:
- bundler
install:
- bundle install
rvm:
- 2.0
- 2.1
- 2.2
- 2.3.0
- 2.4.1
notifications:
email:
recipients:
- sensu-plugin@sensu-plugins.io
on_success: change
on_failure: always
script:
- bundle exec rake default
- gem build sensu-plugins-sidekiq.gemspec
- gem install sensu-plugins-sidekiq-*.gem
deploy:
provider: rubygems
api_key:
secure: GDdqP68P1ej9kbdfAWNEHFCSMJJpwmLEf3iy1LqHvQIerggXNAKYKhC8+PlGgcTQ961J9N9Qp6H7IqWVXL9lTzYpKWqJIOiaB5Gk+QExtU5JdIGGcNvvkt10OSqTBZz0p0PwRiPEk6NrxEep02bk3tZOdNcI+ocY8WV3Vwbromg=
gem: sensu-plugins-sidekiq
on:
tags: true
all_branches: true
rvm: 2.0
rvm: 2.1
rvm: 2.2
rvm: 2.3.0
rvm: 2.4.1
repo: sensu-plugins/sensu-plugins-sidekiq