-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
65 lines (57 loc) · 2.06 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
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-oraclelinux-6,verify]"
- TESTS="integration[default-oraclelinux-7,verify]"
- TESTS="integration[default-ubuntu-1204,verify]"
- TESTS="integration[default-ubuntu-1404,verify]"
- TESTS="integration[default-ubuntu-1504,verify]"
- TESTS="integration[default-ubuntu-1604,verify]"
- TESTS="integration[default-ubuntu-1610,verify]"
# - TESTS="integration[default-fedora-25,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-oraclelinux-6,verify]"
- rvm: 2.2
env: TESTS="integration[default-oraclelinux-7,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-1504,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-fedora-25,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