-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
49 lines (35 loc) · 851 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
47
48
49
language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm
env:
- TESTER_PHP_BIN="php-cgi"
- TESTER_PHP_BIN="hhvm"
matrix:
allow_failures:
- php: hhvm
exclude:
- php: 5.6
env: TESTER_PHP_BIN="hhvm"
- php: 7.0
env: TESTER_PHP_BIN="hhvm"
- php: 7.1
env: TESTER_PHP_BIN="hhvm"
- php: 7.2
env: TESTER_PHP_BIN="hhvm"
- php: hhvm
env: TESTER_PHP_BIN="php-cgi"
before_install:
- composer self-update
install:
- composer update --no-interaction --prefer-source
script:
- ./vendor/bin/tester -p $TESTER_PHP_BIN -c test/php.ini --coverage ./build/logs/clover.xml --coverage-src ./src -s ./test/
after_success:
- ./vendor/bin/coveralls -v
after_failure:
# Prints *.actual files content
- for i in $(find ./tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done