-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
97 lines (90 loc) · 3.07 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
sudo: true
env:
matrix:
# CHEF_VERSION is only for unit tests, no for test-kitchen:
- TESTS="style unit" CHEF_VERSION="~> 11.0"
- TESTS="style unit" CHEF_VERSION="~> 12.0"
# Split up the test-kitchen run to avoid exceeding 50 minutes:
- TESTS="integration:docker[attrs-centos-6]"
- TESTS="integration:docker[attrs-debian-6]"
- TESTS="integration:docker[attrs-debian-7]"
- TESTS="integration:docker[attrs-debian-8]"
- TESTS="integration:docker[attrs-ubuntu-1204]"
- TESTS="integration:docker[attrs-ubuntu-1404]"
- TESTS="integration:docker[attrs-ubuntu-1410]"
- TESTS="integration:docker[attrs-ubuntu-1504]"
- TESTS="integration:docker[attrs-centos-7]"
matrix:
exclude:
# Chef 12 requires Ruby 2:
- rvm: 1.9.3
env: TESTS="style unit" CHEF_VERSION="~> 12.0"
# Chef 11 cannot resolve dependencies in Ruby 2.2 (mixlib-shellout):
- rvm: 2.2
env: TESTS="style unit" CHEF_VERSION="~> 11.0"
# Disable integration:docker tests in old Ruby versions:
- rvm: 1.9.3
env: TESTS="integration:docker[attrs-centos-6]"
- rvm: 2.0.0
env: TESTS="integration:docker[attrs-centos-6]"
- rvm: 2.1
env: TESTS="integration:docker[attrs-centos-6]"
- rvm: 1.9.3
env: TESTS="integration:docker[attrs-debian-6]"
- rvm: 2.0.0
env: TESTS="integration:docker[attrs-debian-6]"
- rvm: 2.1
env: TESTS="integration:docker[attrs-debian-6]"
- rvm: 1.9.3
env: TESTS="integration:docker[attrs-debian-7]"
- rvm: 2.0.0
env: TESTS="integration:docker[attrs-debian-7]"
- rvm: 2.1
env: TESTS="integration:docker[attrs-debian-7]"
- rvm: 1.9.3
env: TESTS="integration:docker[attrs-debian-8]"
- rvm: 2.0.0
env: TESTS="integration:docker[attrs-debian-8]"
- rvm: 2.1
env: TESTS="integration:docker[attrs-debian-8]"
- rvm: 1.9.3
env: TESTS="integration:docker[attrs-ubuntu-1204]"
- rvm: 2.0.0
env: TESTS="integration:docker[attrs-ubuntu-1204]"
- rvm: 2.1
env: TESTS="integration:docker[attrs-ubuntu-1204]"
- rvm: 1.9.3
env: TESTS="integration:docker[attrs-ubuntu-1404]"
- rvm: 2.0.0
env: TESTS="integration:docker[attrs-ubuntu-1404]"
- rvm: 2.1
env: TESTS="integration:docker[attrs-ubuntu-1404]"
- rvm: 1.9.3
env: TESTS="integration:docker[attrs-ubuntu-1410]"
- rvm: 2.0.0
env: TESTS="integration:docker[attrs-ubuntu-1410]"
- rvm: 2.1
env: TESTS="integration:docker[attrs-ubuntu-1410]"
- rvm: 1.9.3
env: TESTS="integration:docker[attrs-ubuntu-1504]"
- rvm: 2.0.0
env: TESTS="integration:docker[attrs-ubuntu-1504]"
- rvm: 2.1
env: TESTS="integration:docker[attrs-ubuntu-1504]"
- rvm: 1.9.3
env: TESTS="integration:docker[attrs-centos-7]"
- rvm: 2.0.0
env: TESTS="integration:docker[attrs-centos-7]"
- rvm: 2.1
env: TESTS="integration:docker[attrs-centos-7]"
bundler_args: --jobs=3 --retry=3 --without='doc integration_vagrant integration_cloud guard'
before_script:
- source <(curl -sL https://raw.githubusercontent.com/zuazo/kitchen-in-travis/0.3.0/scripts/start_docker.sh)
script:
- travis_retry bundle exec rake $TESTS
after_failure: cat docker_daemon.log