Update travis configuration

This commit is contained in:
adlawson 2015-07-22 09:48:09 +01:00
parent bea7308ab1
commit d05a0355a0
3 changed files with 5 additions and 20 deletions

View File

@ -1,9 +0,0 @@
set -x
if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ] || [ "$TRAVIS_PHP_VERSION" = 'hhvm-nightly' ]; then
curl -sS https://getcomposer.org/installer > composer-installer.php
hhvm composer-installer.php
hhvm -v ResourceLimit.SocketDefaultTimeout=30 -v Http.SlowQueryThreshold=30000 composer.phar install --prefer-source
else
composer self-update
composer install --prefer-source
fi

View File

@ -3,17 +3,11 @@ language: php
php:
- 5.5
- 5.6
- 7
- 7.0
- hhvm
- hhvm-nightly
matrix:
fast_finish: true
allow_failures:
- php: hhvm-nightly
before_script:
- ./.travis.install.sh
install:
- travis_retry composer install --no-interaction --ignore-platform-reqs
script:
- ./vendor/bin/phpunit
- composer test

View File

@ -33,7 +33,7 @@
}
},
"require": {
"php": "^5.5",
"php": ">=5.5",
"psr/log": "^1.0"
},
"require-dev": {