forked from glpi-project/glpi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
62 lines (55 loc) · 1.08 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
language: php
env:
- DB=mysql
before_script:
- composer self-update
- composer install --no-dev
- mysql -u root -e 'create database glpitest;'
- php tools/cliinstall.php --lang=en_US --db=glpitest --user=root --tests
- php -S localhost:8088 tests/router.php &>/dev/null &
script:
- mysql -u root -e 'select version();'
- phpunit --verbose
matrix:
include:
- php: 5.4
addons:
mariadb: 5.5
- php: 5.5
addons:
mariadb: 5.5
- php: 5.6
addons:
mariadb: 5.5
- php: 5.6
addons:
mariadb: 10.0
- php: 5.6
addons:
mariadb: 10.1
- php: 7.0
addons:
mariadb: 10.0
- php: 7.0
addons:
mariadb: 10.1
- php: nightly
addons:
mariadb: 10.1
allow_failures:
- php: nightly
cache:
directories:
- $HOME/.composer/cache
notifications:
irc:
channels:
- "irc.freenode.org#glpi"
on_success: change
on_failure: always
use_notice: true
skip_join: true
#exclude old branches, without tests
branches:
except:
- /^0\..*$/