|
@@ -12,18 +12,14 @@ install:
|
|
|
- travis_retry composer self-update && composer update nothing && composer --version
|
|
|
- travis_retry composer global require fxp/composer-asset-plugin --no-plugins
|
|
|
- composer install --prefer-source --no-interaction --dev
|
|
|
- - wget http://codeception.com/codecept.phar -O vendor/bin/codecept && chmod +x vendor/bin/codecept
|
|
|
- echo 'xdebug.max_nesting_level=600' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
|
|
|
|
|
-
|
|
|
before_script:
|
|
|
- mysql -e 'CREATE DATABASE IF NOT EXISTS walle DEFAULT CHARSET utf8 COLLATE utf8_general_ci;'
|
|
|
- ./yii migrate/up --interactive=0
|
|
|
- - cd tests && ./vendor/bin/codecept build
|
|
|
|
|
|
script:
|
|
|
- find ./ -path './vendor' -prune -o -type f -iname "*.php" -print0 | xargs -0 -n1 php -l
|
|
|
- - ./vendor/bin/codecept run
|
|
|
matrix:
|
|
|
fast_finish: true
|
|
|
|