-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
39 lines (31 loc) · 1.05 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: python
python: "2.7"
dist: trusty
sudo: required
services:
- docker
env:
- TEST_COMMAND="bundle exec kitchen test simple-ubuntu1404-one"
- TEST_COMMAND="bundle exec kitchen test simple-ubuntu1404-three"
- TEST_COMMAND="bundle exec kitchen test simple-ubuntu1604-one"
- TEST_COMMAND="bundle exec kitchen test simple-ubuntu1604-two"
- TEST_COMMAND="bundle exec kitchen test simple-ubuntu1604-three"
- TEST_COMMAND="bundle exec kitchen test simple-ubuntu1804-one"
- TEST_COMMAND="bundle exec kitchen test simple-ubuntu1804-three"
- TEST_COMMAND="./test/test-cluster.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 ruby ruby-dev build-essential autoconf
- gem install bundler
install:
- sudo locale-gen en_US.UTF-8
- sudo dpkg-reconfigure locales
- bash ./test/ansible-setup.sh
- bash ./test/setup_roles.sh
- bundle install
script:
- LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 $TEST_COMMAND
after_success:
- echo "Success"