forked from ahelal/ansible-concourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 829 Bytes
/
.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
---
language: python
python: "2.7"
services:
- docker
env:
- TEST_COMMAND="bundle exec kitchen test ubuntu1404-23"
- TEST_COMMAND="bundle exec kitchen test ubuntu1404-25"
- TEST_COMMAND="bundle exec kitchen test ubuntu1604-23"
- TEST_COMMAND="bundle exec kitchen test ubuntu1604-24"
- TEST_COMMAND="bundle exec kitchen test ubuntu1604-25"
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"