- - ant prepare-$DB
- - bin/phpunit --exclude-group command-doctrine -v
-
-# after_script:
- # - |
- # if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
- # wget https://scrutinizer-ci.com/ocular.phar
- # php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- # fi
+ - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist
+ - echo "travis_fold:start:prepare"
+ - make prepare DB=$DB
+ - echo "travis_fold:end:prepare"
+
+ - echo "travis_fold:start:fixtures"
+ - php bin/console doctrine:fixtures:load --no-interaction --env=test
+ - echo "travis_fold:end:fixtures"
+
+ - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then ./bin/simple-phpunit -v ; fi;
+ - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi;
+ - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi;
+ - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml app/Resources/CraueConfigBundle/translations -v ; fi;
+ - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/UserBundle/Resources/translations -v ; fi;
+ - if [[ $ASSETS = build ]]; then yarn run build:prod; fi;