Skip to content

Commit

Permalink
Merge branch 'docker-on-travis'
Browse files Browse the repository at this point in the history
  • Loading branch information
mthssdrbrg committed Aug 27, 2016
2 parents 644184b + 2e5f0c9 commit 72b846b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .kitchen.docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ platforms:
- name: centos-6.4
driver_config:
provision_command:
- yum install -y tar java-1.7.0-openjdk java-1.7.0-openjdk-devel
- yum install -y tar java-1.7.0-openjdk
- curl -L https://chef.io/chef/install.sh | bash -s -- -v <%= ENV.fetch('CHEF_VERSION', '11.16.4') %>
- name: debian-7.4
driver_config:
Expand All @@ -53,7 +53,7 @@ platforms:
- name: ubuntu-14.04
driver_config:
provision_command:
- apt-get install -y openjdk-7-jre-headless
- apt-get install -y default-jre-headless
- curl -L https://chef.io/chef/install.sh | bash -s -- -v <%= ENV.fetch('CHEF_VERSION', '11.16.4') %>
suites:
- name: default
Expand Down
21 changes: 18 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
language: ruby
script: bundle exec rake test
sudo: false
sudo: required
services:
- docker
cache:
- bundler
rvm:
- 2.1
env:
global:
- KITCHEN_YAML=.kitchen.docker.yml
matrix:
- CHEF_VERSION=11
- CHEF_VERSION=12
install: travis_wait bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
script: bundle exec kitchen test --concurrency=3 --destroy=always
matrix:
fast_finish: true
include:
- rvm: 1.9
- sudo: false
env: []
rvm: 2.1
script: bundle exec rake test
- sudo: false
env: []
rvm: 1.9
gemfile: gemfiles/chef-11/Gemfile
script: bundle exec rspec spec

0 comments on commit 72b846b

Please sign in to comment.