Test PHP 7

This commit is contained in:
Daniel Hensby 2017-03-24 15:06:20 +13:00
parent f856e63706
commit fa017a213a
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -14,12 +14,16 @@ matrix:
include:
- php: 5.6
env: PHPUNIT_TEST=1
- php: 7.0
env: PHPUNIT_TEST=1
- php: 7.1
env: PHPUNIT_TEST=1
before_script:
- composer validate
- composer install --dev --prefer-dist
- composer require silverstripe/config:1.0.x-dev silverstripe/framework:4.0.x-dev --prefer-dist
- pyrus install pear/PHP_CodeSniffer
- "if [ \"$PHPCS_TEST\" = \"1\" ]; then pyrus install pear/PHP_CodeSniffer; fi"
- phpenv rehash