Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Commit c206f29

Browse files
committed
Trying to fix travis build
1 parent 50770cb commit c206f29

File tree

3 files changed

+46
-9
lines changed

3 files changed

+46
-9
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ Session.vim
77
spec/fixtures
88
.*.sw[a-z]
99
*.un~
10+
/Gemfile.lock
11+
/.bundle

.travis.yml

+27-9
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,42 @@
11
language: ruby
2+
bundler_args: --without development
23
rvm:
34
- 1.8.7
45
- 1.9.3
6+
- 2.0.0
7+
- 2.1.1
58
script:
6-
- "rake spec SPEC_OPTS='--format documentation'"
9+
- "bundle exec rake validate lint spec SPEC_OPTS='--format documentation'"
710
env:
8-
- PUPPET_VERSION="~> 2.6.0"
911
- PUPPET_VERSION="~> 2.7.0"
10-
- PUPPET_VERSION="~> 3.0.0"
12+
- PUPPET_VERSION="~> 3.1.0"
13+
- PUPPET_VERSION="~> 3.2.0"
14+
- PUPPET_VERSION="~> 3.3.0"
1115
- PUPPET_VERSION="~> 3.4.0"
16+
- PUPPET_VERSION="~> 3.5.0"
17+
- PUPPET_VERSION="~> 3.6.0"
18+
- PUPPET_VERSION="~> 3.7.0"
1219
matrix:
1320
exclude:
21+
# fails on can't convert String into Integer at init.pp:284
22+
# fqdn_rand patch in
1423
- rvm: 1.9.3
15-
env: PUPPET_VERSION="~> 2.6.0"
16-
gemfile: .gemfile.travis
17-
- rvm: 1.9.3
1824
env: PUPPET_VERSION="~> 2.7.0"
19-
gemfile: .gemfile.travis
20-
21-
gemfile: .gemfile
25+
# fails on "Could not autoload package: constant Puppet::Type::Package"
26+
- rvm: 2.0.0
27+
env: PUPPET_VERSION="~> 3.1.0"
28+
# fails on iconv couldn't be loaded, which is required for UTF-8/UTF-16 conversions
29+
- rvm: 2.0.0
30+
env: PUPPET_VERSION="~> 2.7.0"
31+
- rvm: 2.1.1
32+
env: PUPPET_VERSION="~> 2.7.0"
33+
# fails on "can't modify frozen Symbol"
34+
- rvm: 2.1.1
35+
env: PUPPET_VERSION="~> 3.1.0"
36+
- rvm: 2.1.1
37+
env: PUPPET_VERSION="~> 3.2.0"
38+
- rvm: 2.1.1
39+
env: PUPPET_VERSION="~> 3.3.0"
2240
notifications:
2341
email:
2442

Gemfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
source 'https://rubygems.org'
2+
3+
puppetversion = ENV['PUPPET_VERSION']
4+
5+
is_ruby18 = RUBY_VERSION.start_with? '1.8'
6+
7+
if is_ruby18
8+
gem 'rspec', "~> 3.1.0", :require => false
9+
end
10+
gem 'puppet', puppetversion, :require => false
11+
gem 'puppet-lint'
12+
gem 'puppetlabs_spec_helper', '>= 0.1.0'
13+
gem 'rspec-puppet'
14+
15+
group :development do
16+
gem 'puppet-blacksmith'
17+
end

0 commit comments

Comments
 (0)