From 7ee10c916be6df4a94de6ec91d1fc5a8dcdb3d10 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 21 Apr 2016 13:16:38 +0200 Subject: [PATCH] wip --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index aaaa45e38..20a188893 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,9 +17,13 @@ matrix: env: PHP_BIN=php-cgi include: - - php: 5.6 + - php: 7.0 env: dependencies="--prefer-lowest --prefer-stable" PHP_BIN=php + include: + - php: 7.0 + env: COVERAGE="-p phpdbg --coverage ./coverage.xml --coverage-src ./src" + script: - vendor/bin/tester -p $PHP_BIN tests -s $COVERAGE - php temp/code-checker/src/code-checker.php --short-arrays @@ -32,7 +36,6 @@ before_script: # Install Nette Tester & Code Checker - travis_retry composer update --no-interaction --prefer-dist $dependencies - travis_retry composer create-project nette/code-checker temp/code-checker ~2.5 --no-interaction - - if [ $TRAVIS_PHP_VERSION == "7.0" ]; then COVERAGE="-p phpdbg --coverage ./coverage.xml --coverage-src ./src"; fi after_script: # Report Code Coverage