-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
75 lines (70 loc) · 2.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
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
66
67
68
69
70
71
72
73
74
75
---
language: python
python: "2.7"
env:
- ANSIBLE_VERSION: "2.6.20"
SYMFONY_VERSION: 34
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.7.16"
SYMFONY_VERSION: 34
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.8.10"
SYMFONY_VERSION: 34
PHP_VERSION: 7.4
- ANSIBLE_VERSION: latest
SYMFONY_VERSION: 34
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.6.20"
SYMFONY_VERSION: 43
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.7.16"
SYMFONY_VERSION: 43
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.8.10"
SYMFONY_VERSION: 43
PHP_VERSION: 7.4
- ANSIBLE_VERSION: latest
SYMFONY_VERSION: 43
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.6.20"
SYMFONY_VERSION: 44
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.7.16"
SYMFONY_VERSION: 44
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.8.10"
SYMFONY_VERSION: 44
PHP_VERSION: 7.4
- ANSIBLE_VERSION: latest
SYMFONY_VERSION: 44
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.6.20"
SYMFONY_VERSION: 50
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.7.16"
SYMFONY_VERSION: 50
PHP_VERSION: 7.4
- ANSIBLE_VERSION: "2.8.10"
SYMFONY_VERSION: 50
PHP_VERSION: 7.4
- ANSIBLE_VERSION: latest
SYMFONY_VERSION: 50
PHP_VERSION: 7.4
before_install:
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update -qq
- sudo apt-get -qq install php$PHP_VERSION-cli php$PHP_VERSION-xml
- php$PHP_VERSION -v
- php$PHP_VERSION -i
install:
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible-lint; fi
- ansible --version
- printf '[defaults]\nroles_path=../' > ansible.cfg
- ln -s ./ansistrano-symfony-deploy ../cbrunnkvist.ansistrano-symfony-deploy
- ansible-galaxy install ansistrano.deploy --force
script:
- ansible-playbook -i test/inventory test/symfony_$SYMFONY_VERSION.yml --syntax-check
- ansible-playbook -i test/inventory test/symfony_$SYMFONY_VERSION.yml -vvvv
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/