-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
37 lines (31 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
language: php
cache:
directories:
- $HOME/.composer/cache
env:
- INSTALL_ARGS=""
before_install:
- composer require "phpunit/phpunit:${PHPUNIT_VERSION}" --no-update
install: composer update --prefer-dist --no-interaction --prefer-lowest $INSTALL_ARGS
script: ./vendor/bin/phpunit --debug -c phpunit.xml --coverage-clover clover.xml
after_success:
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then ./vendor/bin/coveralls -v; fi
matrix:
include:
- php: 5.6
env: PHPUNIT_VERSION=5.7.27
- php: 7.0
env: PHPUNIT_VERSION=5.7.27
- php: 7.1
env: PHPUNIT_VERSION=5.7.27
- php: 7.2
env: PHPUNIT_VERSION=7.5.20 INSTALL_ARGS=" --ignore-platform-reqs "
- php: 7.3
env: PHPUNIT_VERSION=7.5.20 INSTALL_ARGS=" --ignore-platform-reqs "
- php: 7.4
env: PHPUNIT_VERSION=7.5.20 INSTALL_ARGS=" --ignore-platform-reqs "
- php: nightly
env: PHPUNIT_VERSION=7.5.20 INSTALL_ARGS=" --ignore-platform-reqs "
fast_finish: true
allow_failures:
- php: nightly