forked from AutomationWithAnsible/ansible-usermanage
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
65 lines (60 loc) · 2.06 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
---
language: python
python: "2.7"
services:
- docker
env:
- KITCHEN_TEST="advanced-centos7"
- KITCHEN_TEST="advanced-ubuntu1404"
- KITCHEN_TEST="advanced-ubuntu1604"
- KITCHEN_TEST="extra-advanced-centos7"
- KITCHEN_TEST="extra-advanced-ubuntu1404"
- KITCHEN_TEST="extra-advanced-ubuntu1604"
- KITCHEN_TEST="extra-simple-centos7"
- KITCHEN_TEST="extra-simple-ubuntu1404"
- KITCHEN_TEST="extra-simple-ubuntu1604"
- KITCHEN_TEST="extra-team-centos7"
- KITCHEN_TEST="extra-team-ubuntu1404"
- KITCHEN_TEST="extra-team-ubuntu1604"
- KITCHEN_TEST="group-centos7"
- KITCHEN_TEST="group-ubuntu1404"
- KITCHEN_TEST="group-ubuntu1604"
- KITCHEN_TEST="include-vars-dir-centos7"
- KITCHEN_TEST="include-vars-dir-ubuntu1404"
- KITCHEN_TEST="include-vars-dir-ubuntu1604"
- KITCHEN_TEST="include-vars-file-centos7"
- KITCHEN_TEST="include-vars-file-ubuntu1404"
- KITCHEN_TEST="include-vars-file-ubuntu1604"
- KITCHEN_TEST="multi-source-files-centos7"
- KITCHEN_TEST="multi-source-files-ubuntu1404"
- KITCHEN_TEST="multi-source-files-ubuntu1604"
- KITCHEN_TEST="selected-users-centos7"
- KITCHEN_TEST="selected-users-ubuntu1404"
- KITCHEN_TEST="selected-users-ubuntu1604"
- KITCHEN_TEST="simple-centos7"
- KITCHEN_TEST="simple-ubuntu1404"
- KITCHEN_TEST="simple-ubuntu1604"
- KITCHEN_TEST="source-databag-centos7"
- KITCHEN_TEST="source-databag-ubuntu1404"
- KITCHEN_TEST="source-databag-ubuntu1604"
- KITCHEN_TEST="source-files-centos7"
- KITCHEN_TEST="source-files-ubuntu1404"
- KITCHEN_TEST="source-files-ubuntu1604"
- KITCHEN_TEST="team-centos7"
- KITCHEN_TEST="team-ubuntu1404"
- KITCHEN_TEST="team-ubuntu1604"
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:
- bash test/ansible-setup.sh
- bundle install
script:
- ansible --version
- sudo locale-gen en_US.UTF-8
- bundle show
- LANG=en_US.UTF-8 bundle exec kitchen test ${KITCHEN_TEST}
after_success:
- echo "Success"