-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy path.travis.yml
60 lines (50 loc) · 1.03 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
language: php
php:
- 5.6
- 7.1
addons:
apt_packages:
- ldap-utils
- slapd
env:
global:
- PLUGIN_NAME=Datasources
- REQUIRE=""
- DB=mysql
- COMPOSER_HOME=/home/travis/.composer
matrix:
- CAKE_VERSION=2.10
matrix:
include:
- php: 5.6
env:
- CAKE_REF=2.6.13
- php: 5.6
env:
- CAKE_REF=2.7.11
- php: 7.1
env:
- CAKE_REF=2.8.9
- php: 7.1
env:
- CAKE_REF=2.9.9
- php: 7.1
env:
- PHPCS=1
allow_failures:
- php: 7.1
env:
- PHPCS=1
before_install:
- sudo ldapmodify -Y EXTERNAL -H ldapi:// -f Test/Ldap/config.ldif
- sudo ldapmodify -D cn=config -f Test/Ldap/admin.ldif -w password
- sudo ldapadd -D cn=admin,dc=cakephp,dc=org -f Test/Ldap/database.ldif -w password
before_script:
- git clone https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
- ../travis/before_script.sh
script:
- ../travis/script.sh
after_success:
- ../travis/after_success.sh
notifications:
email: false