-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
executable file
·43 lines (41 loc) · 1.21 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
42
43
sudo: true
service: docker
language: ruby
cache:
- bundler
before_install:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
install:
- bundle install
rvm:
- 2.4.1
notifications:
email:
recipients:
on_success: change
on_failure: always
script:
- gem build sensu-plugins-mesos.gemspec
- gem install sensu-plugins-mesos-*.gem
- bundle exec rake quick
- bundle exec rake kitchen:ruby-`echo $TRAVIS_RUBY_VERSION | sed -e "s/\.//g"`-debian-8
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: script
script: bonsai/ruby26-runtime/travis-build-ruby-plugin-assets.sh sensu-plugins-mesos
skip_cleanup: true
on:
tags: true
all_branches: true
rvm: 2.4.1
- provider: rubygems
api_key:
secure: U6EYo7GWTDVOLZarEndjkQ6N3GnzOjYVDLKTQ1agNhOnxkbZtRYqXzcZkZIEIrWR6HkzKbuv4yVotLwnDkbBLkaVCG4BCqONmS4FYE2UJoXQPb37kwkzkedF9FSCD6N/bEnQW9vhifEDtWrH0+m/vA7o8a5C5NjtTrBMi+FGAuk=
gem: sensu-plugins-mesos
on:
tags: true
all_branches: true
rvm: 2.4.1
repo: sensu-plugins/sensu-plugins-mesos