Browse Source

travis up to php 7.2

tags/v1.0.8
PaulZi 7 years ago
parent
commit
5035c9a8ac
  1. 6
      .travis.yml

6
.travis.yml

@ -5,6 +5,8 @@ php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm
sudo: false
@ -19,7 +21,7 @@ before_script:
- mysql -e 'create database test;'
- psql -U postgres -c 'CREATE DATABASE test;';
- |
if [ $TRAVIS_PHP_VERSION = '7.0' ]; then
if [ $TRAVIS_PHP_VERSION = '7.1' ]; then
PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
fi
@ -28,7 +30,7 @@ script:
after_script:
- |
if [ $TRAVIS_PHP_VERSION = '7.0' ]; then
if [ $TRAVIS_PHP_VERSION = '7.1' ]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi

Loading…
Cancel
Save