29 lines
635 B
YAML
Executable File
29 lines
635 B
YAML
Executable File
language: php
|
|
|
|
php:
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- 7.0
|
|
- 7.1
|
|
- nightly # ignore errors, see below
|
|
- hhvm # ignore errors, see below
|
|
|
|
# lock distro so new future defaults will not break the build
|
|
dist: trusty
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: hhvm
|
|
- php: nightly
|
|
|
|
install:
|
|
- composer install
|
|
|
|
script:
|
|
- ./vendor/bin/phpunit -v --coverage-text --coverage-clover=./build/logs/clover.xml
|
|
|
|
after_script:
|
|
- if [ -f ./build/logs/clover.xml ]; then travis_retry composer require satooshi/php-coveralls --no-interaction --update-with-dependencies; fi
|
|
- if [ -f ./build/logs/clover.xml ]; then php vendor/bin/coveralls -v; fi
|