forked from sensu-plugins/sensu-plugins-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 1.06 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
40
41
language: ruby
services: docker
cache:
- bundler
before_install:
gem install bundler -v 2.1
install:
- bundle install
rvm:
- 2.3.0
- 2.4.1
notifications:
email:
recipients:
on_success: change
on_failure: always
script:
- bundle exec rake default
- gem build sensu-plugins-aws.gemspec
- gem install sensu-plugins-aws-*.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: Yl+P21/xvWHf1sjSM+qdSG6r+gmxhf4eEuwH/m94TYqQlI7VR6RQIrKRcwS7e8n6BTNBCDXI+NtQXI2dIOTg8BMfK9qajUH3DpBogL1p8P9jCgXMtzUURd1NN2jta0eBLyaHMCpU91XfGVjiBotDRxyyIRQ0N9T1SD/cMkum5Gc=
gem: sensu-plugins-aws
on:
tags: true
all_branches: true
rvm: 2.3.0
rvm: 2.4.1
repo: sensu-plugins/sensu-plugins-aws
- provider: script
script: bonsai/ruby-runtime/travis-build-ruby-plugin-assets.sh sensu-plugins-aws
skip_cleanup: true
on:
tags: true
all_branches: true
rvm: 2.4.1