aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-02-05 01:38:12 +0100
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-03-14 20:41:29 +0100
commit4a85726e5583e7de497077ded4e2ffbcd8b8a0b9 (patch)
treeb6f89ec1bec065b776532968b770a205271626aa /.travis.yml
parentcb2eee1d2e82be62118482fb2668561c193a012b (diff)
downloadvolse-hubzilla-4a85726e5583e7de497077ded4e2ffbcd8b8a0b9.tar.gz
volse-hubzilla-4a85726e5583e7de497077ded4e2ffbcd8b8a0b9.tar.bz2
volse-hubzilla-4a85726e5583e7de497077ded4e2ffbcd8b8a0b9.zip
: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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 2 insertions, 4 deletions
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