Skip to content

Commit

Permalink
Add Nette versions to .travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Olicek committed Jul 8, 2016
1 parent 0ac3dcc commit 1017193
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Expand Up @@ -10,9 +10,17 @@ php:
- 5.5
- 5.6
- 7.0

env:
matrix:
- NETTE=nette-2.4
- NETTE=nette-2.3

before_install:
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then COVERAGE="-c `php -i | grep 'xdebug.ini'` --coverage coverage.xml --coverage-src src/"; else COVERAGE="" && if [ $TRAVIS_PHP_VERSION = '5.6' ]; then phpenv config-rm xdebug.ini; fi; fi
- travis_retry composer self-update
- wget -O /tmp/composer-nette https://raw.githubusercontent.com/Kdyby/TesterExtras/master/bin/composer-nette.php
- php /tmp/composer-nette
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then COVERAGE="-c `php -i | grep 'xdebug.ini'` --coverage coverage.xml --coverage-src src/"; else COVERAGE="" && if [ $TRAVIS_PHP_VERSION = '5.6' ]; then phpenv config-rm xdebug.ini; fi; fi

install:
- composer install --no-interaction --prefer-source
Expand Down

0 comments on commit 1017193

Please sign in to comment.