.travis.yml
language: ruby
cache:
- bundler
install:
- bundle install
rvm:
- 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-xmpp.gemspec
- gem install sensu-plugins-xmpp-*.gem
deploy:
provider: rubygems
api_key:
secure: ArJ4N6D/Px5TOa+WZSszNZxvIlZuCh4zBQZz8COiYBpPPKhMZfxU2fVdFr5xzUeBMkcFeXsixGaOU9aRMJiUt88sSEe5veR4pT3ITheQvGWmD8ZMrGUDSzwxcoEn8lb1jgmSB9+K1oxY7jy3X9BQMdTD65PAaD9dASUyC2wpVzk=
gem: sensu-plugins-xmpp
on:
tags: true
all_branches: true
rvm: 2.4.1
repo: sensu-plugins/sensu-plugins-xmpp