-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
46 lines (41 loc) · 921 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
matrix:
fast_finish: true
include:
- php: 5.6
env: dependencies=lowest
- php: 7.0
env: dependencies=lowest
- php: 7.1
env: dependencies=lowest
- php: 7.2
env: dependencies=lowest
- php: 5.6
env: dependencies=highest
- php: 7.0
env: dependencies=highest
- php: 7.1
env: dependencies=highest
- php: 7.2
env: dependencies=highest
allow_failures:
- php: 7.1
- php: 7.2
before_script:
- composer self-update -q
- if [ -z "$dependencies" ]; then composer install; fi;
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest -n; fi;
- if [ "$dependencies" = "highest" ]; then composer update -n; fi;
script:
- >
echo;
echo "Running unit tests";
./vendor/bin/phpunit --colors -c phpunit.xml
notifications:
email: