forked from StreisandEffect/streisand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (26 loc) · 769 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
---
dist: trusty
language: python
python: "2.7"
# Use isolated build instance
sudo: required
env:
global:
- ANSIBLE_CONFIG=tests/ansible.cfg
matrix:
- RUN="shellcheck yamlcheck syntax ci" SITE="global_vars/default-site.yml"
- RUN="ci" SITE="tests/site_vars/l2tp.yml"
- RUN="ci" SITE="tests/site_vars/openconnect.yml"
- RUN="ci" SITE="tests/site_vars/openvpn.yml"
- RUN="ci" SITE="tests/site_vars/shadowsocks.yml"
- RUN="ci" SITE="tests/site_vars/ssh.yml"
- RUN="ci" SITE="random"
before_install:
- sudo apt-get update -qq
- sudo apt-get install python-pip python-dev ca-certificates shellcheck -qq
install:
- pip install ansible==2.4.0.0
- pip install urllib3 yamllint
- ansible --version
script:
- ./tests/tests.sh