File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 2
2
- 2.2
3
3
- 2.3
4
4
5
- sudo : false
5
+ sudo : required
6
+
7
+ services : docker
6
8
7
9
env :
8
10
- CHEF_VERSION="~> 12.0"
9
11
10
- bundler_args : --without doc integration integration_cloud guard
11
- script : travis_retry bundle exec rake style unit
12
+ before_install :
13
+ - chef --version &> /dev/null || curl -L https://www.getchef.com/chef/install.sh | sudo bash -s -- -P chefdk -v 1.2.22
14
+ - eval "$(/opt/chefdk/bin/chef shell-init bash)"
15
+
16
+ install :
17
+ - chef exec bundle install --jobs=3 --retry=3 --without='doc integration_vagrant integration_cloud guard'
18
+
19
+ before_script :
20
+ # https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142455888
21
+ - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
22
+ - chef --version
23
+ - cookstyle --version
24
+ - foodcritic --version
25
+
26
+ script : travis_retry chef exec bundle exec rake style unit
You can’t perform that action at this time.
0 commit comments