From 4a85726e5583e7de497077ded4e2ffbcd8b8a0b9 Mon Sep 17 00:00:00 2001 From: Klaus Weidenbach Date: Sun, 5 Feb 2017 01:38:12 +0100 Subject: :construction_worker: :arrow_up: :heavy_plus_sign: Update PHPUnit to current stable 6. Update requirements to PHP7 for dev. Add php-mock-phpunit to mock and stub global functions in a better way. --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 323c48f7f..2d1771c1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,11 +33,11 @@ addons: # - mariadb # - postgresql -# any PHP version we want to test against, our unit tests require PHP>=5.6 +# any PHP version we want to test against, current stable phpunit requires PHP >= 7.0 php: - - '5.6' - '7.0' - '7.1' + # HHVM does not fulfil PHPUnit platform requirements as being compatible with PHP7 yet #- 'hhvm' # list of environments to test @@ -108,8 +108,6 @@ install: before_script: # Use code coverage config for phpunit - if [[ ! -z $CODECOV ]]; then export PHPUCOV=""; fi - # HHVM needs xdebug for code coverage, but extremely slow - #- if [[ $TRAVIS_PHP_VERSION =~ ^hhvm ]]; then echo 'xdebug.enable = On' >> /etc/hhvm/php.ini; fi # Some preparation tasks of environment - ./tests/travis/prepare.sh # DB specific prepare scripts -- cgit v1.2.3