yii2-netdisk/.travis.yml
Carsten Brandt 9035c63988
do not use composer exec for running codeception
it produces weird behavior.

fixes #104
2017-02-01 11:29:32 +01:00

29 lines
628 B
YAML

language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
# - hhvm
# 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
- travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1"
- travis_retry composer update --dev --prefer-dist --no-interaction
# setup application:
- |
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php
script:
- |
php -S localhost:8080 -t web > /dev/null 2>&1 &
vendor/bin/codecept run