-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
executable file
·48 lines (44 loc) · 1.19 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
44
45
46
language: ruby
services:
- docker
cache:
- bundler
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-disk-checks.gemspec
- gem install sensu-plugins-disk-checks-*.gem
before_deploy:
- git clone https://github.com/sensu/sensu-go-bonsai-asset.git --branch feature/ruby-plugin-assets bonsai
deploy:
- provider: rubygems
api_key:
secure: MA9lRNkP7h07yWS10BZ6ZdlWNdgKB4UU5OyLiwM+IFB8uWMM/l5OsCThYkPPRTNCcGR6O2QaXukgKSz8TX+c3b/+ocMa2iJRnREIkH6/F0ujdmMmtVFFh8/lUdtlxdg3i7HqhjbhZgUNPbDUI5eVO72QAb4s20Idyw92kPEFBXU=
gem: sensu-plugins-disk-checks
on:
tags: true
all_branches: true
rvm: 2.3.0
rvm: 2.4.1
repo: sensu-plugins/sensu-plugins-disk-checks
###
# Build Bonsai Assets using ruby-runtime docker images when tagging releases
# NOTE: secure GITHUB_TOKEN variable must be set.
###
- provider: script
script: bonsai/ruby-runtime/travis-build-ruby-plugin-assets.sh sensu-plugins-disk-checks
skip_cleanup: true
on:
tags: true
all_branches: true
rvm: 2.4.1