-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
39 lines (39 loc) · 1.03 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: ruby
services:
- docker
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-victorops.gemspec
- gem install sensu-plugins-victorops-*.gem
before_deploy:
- bash -c "[ ! -d bonsai/ ] && git clone https://github.com/sensu/sensu-go-bonsai-asset.git bonsai || echo 'bonsai/ exists, skipping git clone'"
deploy:
- provider: rubygems
api_key:
secure: B67ocfcOXtFRlUUpk5Hb/iOp0a3clBk2mXB2C7wkymygL1Q0tSPTohtdDenqu1OK9sAWaZMTK30hMQ3PFthoAvgEHg3/QEJuJb4zpnECVZAr3ZZUSLmXZPjUIAMmP5hTxScfvIk3R93BW21yJgP11+76Zp3YKoTgWmspUb9RGys=
gem: sensu-plugins-victorops
on:
tags: true
all_branches: true
rvm: 2.4.1
repo: sensu-plugins/sensu-plugins-victorops
- provider: script
script: bonsai/ruby-runtime/travis-build-ruby-plugin-assets.sh sensu-plugins-victorops
skip_cleanup: true
on:
tags: true
all_branches: true
rvm: 2.4.1