forked from shawnferry/puppet-solaris_providers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (40 loc) · 892 Bytes
/
.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
language: ruby
sudo: false
before_install:
- gem install bundler -v 1.10
- echo "gem 'rake', '< 11.0'" >> Gemfile
bundler_args: --without acceptance
script:
- "bundle exec rake $CHECK"
notifications:
email: false
rvm:
- 2.3.0-dev
- 2.2.4
# Current in Solaris 12
- 2.1.6
gemfile:
# Solaris 12 Version of Puppet is 3.8.6
- Gemfile
- Gemfiles/puppet-4.x
env:
- "CHECK=spec"
matrix:
allow_failures:
- env: "CHECK=rubocop"
- rvm: 2.3.0-dev
exclude:
# Can't run Puppet < 4.x with Ruby >= 2.2
- rvm: 2.2.4
gemfile: Gemfile
- rvm: 2.3.0-dev
gemfile: Gemfile
include:
# Add one run for older Solaris 11 Ruby and Puppet
- rvm: 1.9.3
gemfile: Gemfiles/puppet-3.6.2
env: CHECK=spec
# Add one run of rubocop for Current Solaris 12 Ruby and Puppet
- rvm: 2.1.6
gemfile: Gemfile
env: CHECK=rubocop