2015-03-23 03:14:19 +08:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.4
|
|
|
|
- 5.5
|
|
|
|
- 5.6
|
|
|
|
- 7.0
|
2016-01-17 01:08:23 +08:00
|
|
|
# - hhvm
|
2015-03-23 03:14:19 +08:00
|
|
|
|
|
|
|
# faster builds on new travis setup not using sudo
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
# cache vendor dirs
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.composer/cache
|
|
|
|
|
|
|
|
install:
|
|
|
|
- travis_retry composer self-update && composer --version
|
2016-01-17 01:11:06 +08:00
|
|
|
- travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1"
|
2016-07-25 07:38:25 +08:00
|
|
|
- travis_retry composer update --dev --prefer-dist --no-interaction
|
2015-03-23 03:14:19 +08:00
|
|
|
# setup application:
|
|
|
|
- |
|
|
|
|
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php
|
|
|
|
|
|
|
|
script:
|
|
|
|
- |
|
2016-07-25 07:38:25 +08:00
|
|
|
php -S localhost:8080 -t web > /dev/null 2>&1 &
|
2017-02-01 18:29:32 +08:00
|
|
|
vendor/bin/codecept run
|