-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
39 lines (39 loc) · 1.61 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
cache:
- bundler
before_install:
- gem update
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-zfs.gemspec
- gem install sensu-plugins-zfs-*.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: script
script: chmod +x bonsai/ruby-runtime/travis-build-ruby-plugin-assets.sh && bonsai/ruby-runtime/travis-build-ruby-plugin-assets.sh sensu-plugins-zfs
skip_cleanup: true
on:
tags: true
all_branches: true
rvm: 2.4.1
- provider: rubygems
api_key:
secure: Dn+KoumNlRtK92pSP9BOWZOEarALoN76rO13pOtustp58vapbc/uw5uElSJHJFKyA9/UutCV7RAS+kcc6Kg2gGEzo8JuIayZdscU+rqpvWa8/NcL1xwDjuRd/K1tKmNiT5UfxEiMD8HczO4v9gcuDq3Hwgl84MPKRqlGRoOteujmiMjU3ytxQ2uXfr19Cmksk6bnjJAHQYMWPKa3YonQHRNk7vBm3Bf/MGKyUQ2sIGsvYlv5paOuc8Itl+HGKCVL7jp6YgelW2oT6NuB1EJSqoLtkQ9Z2yTH0qXOH+UkXQ73IuvHvDgPQ1J0sug1OHahcDSSLyIRv/O5P+j9lBfQuvgfdkSnAr9MHzcIiUKlXTyQjZUwxMHk+k4cdzXQZHvIUuiwLsOuQhI16fsC5CwNrH7fimHeCuyCml4a93zGwNjAifzAUGyGPhV39dFXgIA+GMEyTb5gGazVoS6rv5mte2nvyx29z2WnCKtvedf0EHGIw9b75khV3CULAzM+e76as/MattWZ0NXokMshgrG6i6p1rLrbeh10bW7ggXG0IBZaBvQ+yE4sKZPUmAyi5RGJ1xCu8smvk8fgFc83P5CJrLCZJCmBITLZ9hzyJz6vcXjKMTSqdirAnQ/nSnmL59XSq+IZsSPUU6CdDmdP5yw7gkMp0wiXC9WzgRt63df6hhg=
gem: sensu-plugins-zfs
on:
tags: true
all_branches: true
rvm: 2.4.1
repo: sensu-plugins/sensu-plugins-zfs