- - ant prepare
- - phpunit $PHPUNIT_FLAGS
-
-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
+ - ant prepare-$DB
+ - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then phpunit -v ; fi;
+ - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix src/ --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 app/Resources/FOSUserBundle/translations -v ; fi;
+ - if [[ $ASSETS = build ]]; then ./node_modules/grunt-cli/bin/grunt tests; fi;