forked from lagdo/symfony-facades
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
36 lines (28 loc) · 790 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
language: php
php:
- 7.3
- 7.4
- 8.0
- 8.1
# run build against nightly but allow them to fail
matrix:
fast_finish: true
# allow_failures:
# only one build will send the coverage, this'll speed up other one
# include:
# cache vendor dirs
cache:
directories:
- vendor
- $HOME/.composer/cache
before_install:
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- composer self-update
install:
- composer install --no-interaction --prefer-dist -o
before_script:
- mkdir -p build/logs # Create a folder to store clover files
script:
- XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- travis_retry php vendor/bin/php-coveralls -v