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 1
/
Copy path.travis.yml
39 lines (31 loc) · 1.42 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
dist: bionic
language: php
php:
- 7.3
- 7.4
- 8.0
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: aZadEWBuRAL6emNdhGDjAL+geq4T0BE0f+3/QixY8H/fScAF30CMqOcgVTIMZx66nKznH7Hbqy4Xnh1nEdJiM9bI/fnkPySUjqq6B4daUC5/3ozmLssi1RlhN9NGTsduHTDQ10YCCQ28pNKZD8CgXzrD3q5pEl0V+VtZljD0ocX+GZZSG3Ibomrw5VoB7JojdzD5npvyBoZ3UgsATAuYI+6A4fakYRIJLtsSYv3Hdx+h4W3BK+8jNBsDOccvIe5CXJ98ZXojzn3jW1P84YKBvGrmfqUPYb4ePhhpNmjWTSqKTaSqs5lV1gWEckjixVdLqNVYMa7x/LmJ4PqZqllxROHGRNvG6s1tcEdo2he/kCvNikoK4GcnWZO5/hfpZw7E00ig6R4f+UogxhAL8gG0GPlYClBth+zNhN8WN2TvpLKVRzdAY1aNYgxGI9nblqU24qZO+X/+A9Q9odjQHpEt+kGfeouty8t33FA9B+K1Fj5p0P4//xOepZsr2hgl0H2PsDO7K4ZiS1rkxzzCCtpfNtteYAwa0Cu/Be+CJnAmBF6MxNddk51O8taDhtYtt/sO6o/SIyK71N2XfDb8p6QB4Z7mBjDHTxWkLB0UpzO9DTA2NNNxG7Nij2SiDvirHnE0CBeh9A71SPViUBHbptL2tJY0e5o/KuqA+77rMwQWUH8=