-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (40 loc) · 1 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
language: php
php:
- '8.0'
- '8.1'
- hhvm
- nightly
matrix:
include:
- php: 8.0
env:
- CLEAR_PHP_UNIT=true
- WITH_BENCHMARK=true
- PHPUNIT_BIN=phpunit
- WITH_CODECOV=true
- php: 8.1
env:
- CLEAR_PHP_UNIT=true
- WITH_BENCHMARK=true
- PHPUNIT_BIN=phpunit
- WITH_CODECOV=true
- php: hhvm
env:
- CLEAR_PHP_UNIT=true
- WITH_BENCHMARK=true
- PHPUNIT_BIN=phpunit
- WITH_CODECOV=true
- php: nightly
env:
- CLEAR_PHP_UNIT=true
- WITH_BENCHMARK=true
- PHPUNIT_BIN=phpunit
script:
- test -z "${CLEAR_PHP_UNIT}" || composer remove --dev "phpunit/phpunit"
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-dist --no-interaction
- test -z "${WITH_BENCHMARK}" || bash ./benchmark/benchmark.sh
- ${PHPUNIT_BIN} --coverage-clover coverage.xml
before_install:
- pip install --user codecov
after_success:
- test -z "${WITH_CODECOV}" || codecov