mirror of
https://github.com/adlawson/php-vfs.git
synced 2024-11-21 20:15:13 +00:00
Add travis configuration
This commit is contained in:
parent
8527c7e37b
commit
b82acd2471
9
.travis.install.yml
Executable file
9
.travis.install.yml
Executable file
@ -0,0 +1,9 @@
|
||||
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
|
14
.travis.yml
Normal file
14
.travis.yml
Normal file
@ -0,0 +1,14 @@
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 5.4
|
||||
- 5.5
|
||||
- 5.6
|
||||
- hhvm
|
||||
- hhvm-nightly
|
||||
|
||||
before_script:
|
||||
- ./.travis.install.sh
|
||||
|
||||
script:
|
||||
- ./vendor/bin/phpunit
|
Loading…
Reference in New Issue
Block a user