.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-netscaler.gemspec
- gem install sensu-plugins-netscaler-*.gem
deploy:
provider: rubygems
api_key:
secure: gFhNFGAsT80MPwkBkyvynW81TTxALnkKf5uO07YxmgMABD3TG7ZV0oRcYqruUAULqbj0IKV5gyfWxL/GUmyzjG6sM03LJeB6VNIs8cLFs8Bq3gFR6C2/KEyaimGEzmv1UidfAyDLfqmjI+r/zsnw3KSjSjc8bXg8AL5ey8anLxs=
gem: sensu-plugins-netscaler
on:
tags: true
repo: sensu-plugins/sensu-plugins-netscaler
all_branches: true
rvm: 2.0
rvm: 2.1
rvm: 2.2
rvm: 2.3.0
rvm: 2.4.1