forked from StackStorm/puppet-st2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (56 loc) · 1.85 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
47
48
49
50
51
52
53
54
55
56
57
---
branches:
except:
- gh-pages
sudo: false
language: ruby
install: "script/ci_install.sh"
script: "script/ci_build.sh"
bundler_args: --without rake
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env:
- BUILD_NAME="RHEL 6"
- PUPPET_VERSION="~> 3.0"
- GEMFILE_LOCK="Gemfile.lock.3.8.7.ruby1.8.7"
- rvm: 2.0.0
env:
- BUILD_NAME="RHEL 7"
- PUPPET_VERSION="~> 3.0"
- GEMFILE_LOCK="Gemfile.lock.3.8.7.ruby2.0.0"
- rvm: 1.9.3
env:
- BUILD_NAME="Ubuntu 14"
- PUPPET_VERSION="~> 3.0"
- GEMFILE_LOCK="Gemfile.lock.3.8.7.ruby1.9.3"
# Can't run our unittests against default puppet version on Ubuntu 16
# because it ships with a brand new version of Ruby (2.3.x) and an old
# version of puppet (3.8.5) that is not compatible with new versions
# of Ruby that are needed for the unit tests. This is only a unit testing
# deficiency, the runtime component of 3.8.5 works just fine with ruby 2.3
# for using this module.
- rvm: 2.3.1
env:
- BUILD_NAME="Ubuntu 16"
- PUPPET_VERSION="~> 4.0"
- GEMFILE_LOCK="Gemfile.lock.4.10.5.ruby2.3.1"
- rvm: 2.1.10
env:
- BUILD_NAME="Puppet 4 (generic)"
- PUPPET_VERSION="~> 4.0"
- GEMFILE_LOCK="Gemfile.lock.4.10"
- rvm: 2.4.1
env:
- BUILD_NAME="Puppet 5 (generic)"
- PUPPET_VERSION="~> 5.0"
- GEMFILE_LOCK="Gemfile.lock.5.0"
notifications:
# Post build failures to '#puppet' channel in 'stackstorm-community' Slack
slack:
rooms:
- secure: SJ0wpsrrq7oYeepFawJs2iSuKLpWr6aoyWgP+fTPLq8tcZGuIUKJSLM+1FZddYE08QvykO1E0jyeqBrTyvFc7EwsW6vD5bpFYGtVMSMJJIgk76UEhmXbqtTJTjfjYT7/7RDnWlEGXXS7icIZSkEP1moz34fXEDbXKzCpFtqZkAo=
on_pull_requests: false
on_success: change # default: always
on_failure: always # default: always