File tree 1 file changed +64
-0
lines changed
1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : php
2
+ sudo : required
3
+
4
+ services :
5
+ - mysql
6
+
7
+ before_script :
8
+ - phpenv config-rm xdebug.ini || true
9
+ - ./tests/LDAP/ldap_run.sh
10
+ - composer self-update
11
+ - rm -f composer.lock
12
+ - composer config --unset platform
13
+ - nvm install --lts=dubnium # update node to dubnium LTS version (node v10.x + npm v6.9.0)
14
+ - bin/console dependencies install --composer-options="--prefer-dist --no-progress"
15
+ - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
16
+ - mysql -u root -e 'create database glpitest;'
17
+ - bin/console glpi:database:install --config-dir=./tests --no-interaction --db-name=glpitest --db-user=root
18
+ - ./tests/LDAP/ldap_fixtures.sh > /dev/null
19
+
20
+ script :
21
+ - mysql -u root -e 'select version();'
22
+ - composer testldap
23
+
24
+ matrix :
25
+ include :
26
+ - php : 7.2
27
+ dist : xenial
28
+ addons :
29
+ apt :
30
+ packages :
31
+ - ldap-utils
32
+ - slapd
33
+ hosts :
34
+ - openldap
35
+ - php : 7.4
36
+ dist : bionic
37
+ addons :
38
+ apt :
39
+ packages :
40
+ - ldap-utils
41
+ - slapd
42
+ hosts :
43
+ - openldap
44
+ - php : nightly
45
+ dist : bionic
46
+ addons :
47
+ apt :
48
+ packages :
49
+ - ldap-utils
50
+ - slapd
51
+ hosts :
52
+ - openldap
53
+ allow_failures :
54
+ - php : nightly
55
+
56
+ cache :
57
+ directories :
58
+ - $HOME/.composer/cache
59
+ - $HOME/.npm/_cacache
60
+
61
+ # exclude old branches, without tests
62
+ branches :
63
+ except :
64
+ - /^0\..*$/
You can’t perform that action at this time.
0 commit comments