-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
39 lines (34 loc) · 1.12 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
---
language: ruby
rvm:
- 2.5
sudo: required
services:
- docker
env:
- TEST_COMMAND="bundle exec kitchen test basic-server-alpine34"
- TEST_COMMAND="bundle exec kitchen test basic-server-ubuntu1404"
- TEST_COMMAND="bundle exec kitchen test basic-server-ubuntu1604"
- TEST_COMMAND="bundle exec kitchen test basic-agent-alpine34"
- TEST_COMMAND="bundle exec kitchen test basic-agent-ubuntu1404"
- TEST_COMMAND="bundle exec kitchen test basic-agent-ubuntu1604"
- TEST_COMMAND="bundle exec kitchen test tags-alpine34"
- TEST_COMMAND="bundle exec kitchen test tags-ubuntu1404"
- TEST_COMMAND="bundle exec kitchen test tags-ubuntu1604"
#- TEST_COMMAND="./test/cluster_test.sh"
before_install:
# Make sure everything's up to date.
- sudo apt-get update -qq
- sudo apt-get install -qq python-apt python-pycurl git python-pip build-essential autoconf
install:
- bash test/ansible-setup.sh
- bundle install
- ~/.venv_ansible/v2.3/venv/bin/pip install netaddr
script:
- ansible --version
- ruby --version
- python --version
- pip --version
- bundler --version
- bundle show
- $TEST_COMMAND