This repository has been archived by the owner on Aug 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
/
.travis.yml
63 lines (58 loc) · 2.94 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
63
language: bash
services: docker
env:
matrix:
- PHP_VERSION=7.3 LIBXML_VERSION=2.9.9
- PHP_VERSION=7.3 LIBXML_VERSION=2.9.8
- PHP_VERSION=7.3 LIBXML_VERSION=2.9.7
- PHP_VERSION=7.3 LIBXML_VERSION=2.9.6
- PHP_VERSION=7.3 LIBXML_VERSION=2.9.5
- PHP_VERSION=7.3 LIBXML_VERSION=2.9.4
- PHP_VERSION=7.2 LIBXML_VERSION=2.9.9
- PHP_VERSION=7.2 LIBXML_VERSION=2.9.8
- PHP_VERSION=7.2 LIBXML_VERSION=2.9.7
- PHP_VERSION=7.2 LIBXML_VERSION=2.9.6
- PHP_VERSION=7.2 LIBXML_VERSION=2.9.5
- PHP_VERSION=7.2 LIBXML_VERSION=2.9.4
- PHP_VERSION=7.1 LIBXML_VERSION=2.9.9
- PHP_VERSION=7.1 LIBXML_VERSION=2.9.8
- PHP_VERSION=7.1 LIBXML_VERSION=2.9.7
- PHP_VERSION=7.1 LIBXML_VERSION=2.9.6
- PHP_VERSION=7.1 LIBXML_VERSION=2.9.5
- PHP_VERSION=7.1 LIBXML_VERSION=2.9.4
- PHP_VERSION=7.0 LIBXML_VERSION=2.9.9 XDEBUG_VERSION=2.7.2
- PHP_VERSION=7.0 LIBXML_VERSION=2.9.8 XDEBUG_VERSION=2.7.2
- PHP_VERSION=7.0 LIBXML_VERSION=2.9.7 XDEBUG_VERSION=2.7.2
- PHP_VERSION=7.0 LIBXML_VERSION=2.9.6 XDEBUG_VERSION=2.7.2
- PHP_VERSION=7.0 LIBXML_VERSION=2.9.5 XDEBUG_VERSION=2.7.2
- PHP_VERSION=7.0 LIBXML_VERSION=2.9.4 XDEBUG_VERSION=2.7.2
matrix:
allow_failures:
- env: PHP_VERSION=7.3 LIBXML_VERSION=2.9.9
- env: PHP_VERSION=7.3 LIBXML_VERSION=2.9.8
- env: PHP_VERSION=7.3 LIBXML_VERSION=2.9.7
- env: PHP_VERSION=7.3 LIBXML_VERSION=2.9.6
- env: PHP_VERSION=7.3 LIBXML_VERSION=2.9.5
- env: PHP_VERSION=7.2 LIBXML_VERSION=2.9.9
- env: PHP_VERSION=7.2 LIBXML_VERSION=2.9.8
- env: PHP_VERSION=7.2 LIBXML_VERSION=2.9.7
- env: PHP_VERSION=7.2 LIBXML_VERSION=2.9.6
- env: PHP_VERSION=7.2 LIBXML_VERSION=2.9.5
- env: PHP_VERSION=7.1 LIBXML_VERSION=2.9.9
- env: PHP_VERSION=7.1 LIBXML_VERSION=2.9.8
- env: PHP_VERSION=7.1 LIBXML_VERSION=2.9.7
- env: PHP_VERSION=7.1 LIBXML_VERSION=2.9.6
- env: PHP_VERSION=7.1 LIBXML_VERSION=2.9.5
- env: PHP_VERSION=7.0 LIBXML_VERSION=2.9.9 XDEBUG_VERSION=2.7.2
- env: PHP_VERSION=7.0 LIBXML_VERSION=2.9.8 XDEBUG_VERSION=2.7.2
- env: PHP_VERSION=7.0 LIBXML_VERSION=2.9.7 XDEBUG_VERSION=2.7.2
- env: PHP_VERSION=7.0 LIBXML_VERSION=2.9.6 XDEBUG_VERSION=2.7.2
- env: PHP_VERSION=7.0 LIBXML_VERSION=2.9.5 XDEBUG_VERSION=2.7.2
install:
- docker run --rm --volume $PWD:/app --workdir="/app" composer install
script:
- docker build --build-arg PHP_VERSION=${PHP_VERSION} --build-arg LIBXML_VERSION=${LIBXML_VERSION} --build-arg XDEBUG_VERSION=${XDEBUG_VERSION} -t travis-build - < ./docker/php/Dockerfile
- docker run --volume $PWD:/app --workdir="/app" travis-build php ./vendor/bin/phpunit --coverage-clover /app/test/clover.xml
after_script:
- docker run --volume $PWD:/app --workdir="/app" composer require php-coveralls/php-coveralls:^2.0
- docker run --volume $PWD:/app --workdir="/app" --env TRAVIS=${TRAVIS} --env TRAVIS_JOB_ID=${TRAVIS_JOB_ID} travis-build php ./vendor/php-coveralls/php-coveralls/bin/php-coveralls -v