updated travis config

This commit is contained in:
Davert 2016-07-25 02:38:25 +03:00
parent 3be9b8507d
commit ec184a572e

View File

@ -18,14 +18,12 @@ cache:
install: install:
- travis_retry composer self-update && composer --version - travis_retry composer self-update && composer --version
- travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1" - travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1"
- export PATH="$HOME/.composer/vendor/bin:$PATH" - travis_retry composer update --dev --prefer-dist --no-interaction
- travis_retry composer install --dev --prefer-dist --no-interaction
# setup application: # setup application:
- | - |
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php
script: script:
- | - |
cd web php -S localhost:8080 -t web > /dev/null 2>&1 &
php -S localhost:8080 > /dev/null 2>&1 & composer exec codecept run
codecept run