Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Update test harness.
Browse files Browse the repository at this point in the history
  • Loading branch information
coderanger committed Apr 12, 2017
1 parent e2ee3f4 commit b577484
Show file tree
Hide file tree
Showing 19 changed files with 106 additions and 35 deletions.
23 changes: 16 additions & 7 deletions .travis.yml
Expand Up @@ -4,15 +4,22 @@ language: ruby
env:
global:
- secure: rz8Ej7Zx5zArH+OwuAsRB8CH0rZVKIAm6nhB29wg73d7FrMv6cWEl5/B2uQqlefqZ1GYosAifhmoW7lVB1S2O9pDPB8wSpr2P9dsaHEupad4jBi6rIufxoCrx3YZIFPcmvL71u2+STi021VQpsXjcwfP6h2i+pVkPXxVr0Ihv3U=
- USE_SYSTEM_GECODE=true
before_install: gem install bundler
bundler_args: '--binstubs=$PWD/bin --jobs 3 --retry 3'
before_install:
- 'if [[ $BUNDLE_GEMFILE == *master.gemfile ]]; then gem update --system; fi'
- gem --version
- gem install bundler
- bundle --version
- 'bundle config --local path ${BUNDLE_PATH:-$(dirname $BUNDLE_GEMFILE)/vendor/bundle}'
- bundle config --local bin $PWD/bin
install: bundle update --jobs=3 --retry=3
script:
- ./bin/rake travis
matrix:
include:
- rvm: 2.3.1
gemfile: test/gemfiles/chef-12.gemfile
- rvm: 2.4.1
gemfile: test/gemfiles/chef-13.gemfile
- rvm: 2.1.4
gemfile: test/gemfiles/chef-12.1.gemfile
- rvm: 2.1.4
Expand Down Expand Up @@ -48,8 +55,10 @@ matrix:
- rvm: 2.3.1
gemfile: test/gemfiles/chef-12.17.gemfile
- rvm: 2.3.1
gemfile: test/gemfiles/chef-12.18.gemfile
- rvm: 2.3.1
gemfile: test/gemfiles/chef-12.19.gemfile
- rvm: 2.4.1
gemfile: test/gemfiles/chef-13.0.gemfile
- rvm: 2.4.1
gemfile: test/gemfiles/master.gemfile
addons:
apt:
packages:
- libgecode-dev
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.1.gemfile
Expand Up @@ -20,5 +20,4 @@ gem 'chef', '~> 12.1.2'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.10.gemfile
Expand Up @@ -20,5 +20,4 @@ gem 'chef', '~> 12.10.24'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.11.gemfile
Expand Up @@ -20,5 +20,4 @@ gem 'chef', '~> 12.11.18'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.12.gemfile
Expand Up @@ -19,5 +19,4 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.12.15'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.13.gemfile
Expand Up @@ -19,5 +19,4 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.13.37'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-12.18.gemfile
@@ -0,0 +1,19 @@
#
# Copyright 2017, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.18.31'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-12.19.gemfile
@@ -0,0 +1,19 @@
#
# Copyright 2017, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.19.36'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.2.gemfile
Expand Up @@ -20,5 +20,4 @@ gem 'chef', '~> 12.2.1'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.3.gemfile
Expand Up @@ -20,5 +20,4 @@ gem 'chef', '~> 12.3.0'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
4 changes: 1 addition & 3 deletions test/gemfiles/chef-12.4.gemfile
Expand Up @@ -20,7 +20,5 @@ gem 'chef', '~> 12.4.3'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'gh', '0.14.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'ridley', '4.4.1'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.5.gemfile
Expand Up @@ -20,5 +20,4 @@ gem 'chef', '~> 12.5.1'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.6.gemfile
Expand Up @@ -20,5 +20,4 @@ gem 'chef', '~> 12.6.0'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.7.gemfile
Expand Up @@ -20,5 +20,4 @@ gem 'chef', '~> 12.7.2'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.8.gemfile
Expand Up @@ -20,5 +20,4 @@ gem 'chef', '~> 12.8.1'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
3 changes: 1 addition & 2 deletions test/gemfiles/chef-12.9.gemfile
Expand Up @@ -20,5 +20,4 @@ gem 'chef', '~> 12.9.41'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'nio4r', '< 2'
gem 'buff-extensions', '< 2'
gem 'chefspec', '< 6'
2 changes: 1 addition & 1 deletion test/gemfiles/chef-12.gemfile
Expand Up @@ -16,4 +16,4 @@

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.17'
gem 'chef', '~> 12.19'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.0.gemfile
@@ -0,0 +1,19 @@
#
# Copyright 2017, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 13.0.113'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.gemfile
@@ -0,0 +1,19 @@
#
# Copyright 2017, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 13.0'

0 comments on commit b577484

Please sign in to comment.