You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
588 B
YAML
31 lines
588 B
YAML
language: php
|
|
|
|
sudo: false
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- php: 5.4
|
|
- php: 5.5
|
|
- php: 5.6
|
|
- php: 7.0
|
|
- php: 7.1
|
|
env: CODE_COVERAGE=1
|
|
- php: 7.2
|
|
- php: 7.3
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer
|
|
|
|
install:
|
|
- if [ "$CODE_COVERAGE" != 1 ]; then phpenv config-rm xdebug.ini || true; fi
|
|
- cp composer.json-dist composer.json
|
|
- composer install --prefer-dist
|
|
|
|
script:
|
|
- if [ "$CODE_COVERAGE" = 1 ]; then CODE_COVERAGE_ARGS="--coverage-text"; fi; vendor/bin/phpunit -c tests/phpunit.xml $CODE_COVERAGE_ARGS
|
|
|
|
notifications:
|
|
email: false
|