forked from realityforge/chef-kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 1.31 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
language: ruby
rvm:
- 2.2.4
sudo: required
services: docker
env:
matrix:
- TESTS="unit"
- TESTS="rubocop"
- TESTS="foodcritic"
- TESTS="integration:docker[kibana3-apache-ubuntu-1404]"
- TESTS="integration:docker[kibana3-nginx-ubuntu-1404]"
- TESTS="integration:docker[kibana4-apache-ubuntu-1404]"
- TESTS="integration:docker[kibana4-nginx-ubuntu-1404]"
- TESTS="integration:docker[kibana4-apache-package-ubuntu-1404]"
- TESTS="integration:docker[kibana4-apache-ubuntu-1604]"
- TESTS="integration:docker[kibana4-nginx-ubuntu-1604]"
- TESTS="integration:docker[kibana4-apache-package-ubuntu-1604]"
- TESTS="integration:docker[kibana3-apache-centos-64]"
- TESTS="integration:docker[kibana3-nginx-centos-64]"
- TESTS="integration:docker[kibana4-apache-centos-64]"
- TESTS="integration:docker[kibana4-nginx-centos-64]"
- TESTS="integration:docker[kibana4-apache-centos-72]"
- TESTS="integration:docker[kibana4-nginx-centos-72]"
before_install: curl -L https://www.getchef.com/chef/install.sh | sudo bash -s -- -P chefdk
install: chef exec bundle install --jobs=3 --retry=3 --without='vagrant'
# https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142455888
before_script: sudo iptables -L DOCKER || sudo iptables -N DOCKER
script: travis_retry chef exec bundle exec rake ${TESTS}