This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (35 loc) · 1.59 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
dist: bionic
language: php
php:
- 7.3
- 7.4
- 8.0
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
# sudo: false
## Cache composer
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
before_script:
- export XDEBUG_MODE=coverage
- travis_retry composer self-update
- travis_retry composer install ${COMPOSER_FLAGS} --no-interaction --prefer-dist
- mkdir -p build/coverage
script:
- composer travis
after_script:
- |
if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover ./build/coverage/clover.xml
fi
notifications:
on_success: never
on_failure: always
env:
global:
# secure key for infection badge (see https://infection.github.io/guide/mutation-badge.html)
secure: bntVq19iHm6SyX+4lGtI5er+3Z9YNDh5x1ty8jfP16CfVj60qHaIcpNOFzXOTJHvGTSnw2MNdf7UiR1Vs85PU9pD3tQ8RAuYrwIEA8+exrqjsVNeux7YGF83WfXuWcetF3xGg6wOk76vsCUa3IegXOAZN2HfHK8SslbA4Tpm+vAQEiQ/VurkQspo45VPk92hEMTge+6cj9zOTL8KXEEVX3IjtDZUV6O3WZ5HjuV7Kd/PsgDehCiXo/K5IZbfPwUFzFV0+6HAkl1+7u8zyhVQQYe/BUgsQdqbAZJACpjeO1mu6Snq1VPi/mRWU4OndF7d34SIOF7FTKHnPCpwek6/0384z7quXIv+Ib2aSBJcdAMyxDTlyGiSsAaeh88AAewUmfY28cMDYVRQRpQHe5CFaLzNv7Al0JefyEfiF1JuGrX6LOTg5nNw+TWVM3ahz/9+2gcWj15JBzZJfH2Qhvk5+cDTxfU1Bh1iIN/RxcXm8IgPHJT9k/grLG45focJkDoo6+hV9cFb2WPwJcxjBD+lIhPO1uOmJDhrQEci721v0mDpRS9SkThy15EFsQECwGL8I6uJLs/CF61tM6V9aOoFvvT2Cw1fYo5xybKtzLQfJCa3D7IoZ/T1j6Lkb55agi07pwikUy1EhE8Oll8B1nqesfj9ZYCePrrMuxY2eawcLUc=