Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Apr 21, 2016
1 parent fa2dfff commit 7ee10c9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7ee10c9

Please sign in to comment.