-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (63 loc) · 2.29 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
rvm:
- 2.2
- 2.3
sudo: required
services: docker
env:
matrix:
- TESTS="style unit" CHEF_VERSION="~> 12.0"
- TESTS="integration[default-centos-6,verify]"
- TESTS="integration[default-centos-7,verify]"
- TESTS="integration[default-debian-7,verify]"
- TESTS="integration[default-debian-8,verify]"
- TESTS="integration[default-fedora-24,verify]"
- TESTS="integration[default-fedora-25,verify]"
- TESTS="integration[default-oraclelinux-6,verify]"
- TESTS="integration[default-ubuntu-1204,verify]"
- TESTS="integration[default-ubuntu-1404,verify]"
- TESTS="integration[default-ubuntu-1604,verify]"
- TESTS="integration[default-ubuntu-1610,verify]"
- TESTS="integration[default-scientific-68,verify]"
- TESTS="integration[default-scientific-72,verify]"
- TESTS="integration[chef13-centos-7,verify]"
matrix:
exclude:
- rvm: 2.2
env: TESTS="integration[default-centos-6,verify]"
- rvm: 2.2
env: TESTS="integration[default-centos-7,verify]"
- rvm: 2.2
env: TESTS="integration[default-debian-7,verify]"
- rvm: 2.2
env: TESTS="integration[default-debian-8,verify]"
- rvm: 2.2
env: TESTS="integration[default-fedora-24,verify]"
- rvm: 2.2
env: TESTS="integration[default-fedora-25,verify]"
- rvm: 2.2
env: TESTS="integration[default-oraclelinux-6,verify]"
- rvm: 2.2
env: TESTS="integration[default-ubuntu-1204,verify]"
- rvm: 2.2
env: TESTS="integration[default-ubuntu-1404,verify]"
- rvm: 2.2
env: TESTS="integration[default-ubuntu-1604,verify]"
- rvm: 2.2
env: TESTS="integration[default-ubuntu-1610,verify]"
- rvm: 2.2
env: TESTS="integration[default-scientific-68,verify]"
- rvm: 2.2
env: TESTS="integration[default-scientific-72,verify]"
- rvm: 2.2
env: TESTS="integration[chef13-centos-7,verify]"
before_install:
- chef --version &> /dev/null || curl -L https://www.getchef.com/chef/install.sh | sudo bash -s -- -P chefdk -v 1.2.22
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
install:
- chef exec bundle install --jobs=3 --retry=3 --without='doc integration_vagrant integration_cloud guard'
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- chef --version
- cookstyle --version
- foodcritic --version
script: travis_retry chef exec bundle exec rake $TESTS