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: IijRCksiLuJmOocAqylXPHt2tu3WQIM9SIpELORPZwwZhzk4Gj9KZHT0FvDna5DMlcUVHhJLLBzXmuS558+It4OZe1mRiMfGEIL0p1r0L+9F63Fgtk7bredRXPCpiAash0jAgl+cFv2eHZAUrlO02LV8OarS974698fmEmaHyCq5+ewmXkWouHKxii/4O+c+7lZAlWK/n3cjArsEutrrkMpJD6TbvP7A+p9P5nZttUdM7duJOOR6wyan3qN+/fviL8EjhGGxI5+PneB+mFujxxEeTyi1CkTqze9FZiWtiQVhVgvwexofwhiEFmI9noGz3V2dn4OdDIgzsd7o8A4lLTrh1YKikG2n51eNu+jRdqkQVfO64udAPmadkFqEg4y4FBInE1NGUAkc9Ht2qDVVZDPmrcL9u2OTlVi7sWkXZ6W8d1/1G90v+3X8M20lOyY13BWOeIaYbQfeD2K9yA6L0az3yulvwL+Cm3KymqPQLcZEUUjMFKum42YNvUICOJ69M+v8RGk7qLqbAJmQ2+M0e1SSs+LxMNezNSExF/ezMryDK8xHcOD2LfQkXUMobFNaM5j2t9N3x62hSGS7fhjoZ2mJMovlNW0D92a7ZLYtH/1KiJpOQkp0nUPMcblvgabs5B1lZ2Tk92ZgtbWQrZPMPCINjc2lJCRGtzf9i6tgpfI=