X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=.travis.yml;h=9973bcae64be4d3ebdea5abf29945aa6a19571c6;hb=5759c9aac1f13f2776319c3f249acb4c97ea14d8;hp=b0b26b56eaf3ece129e61f4f51a04f6bcd694c38;hpb=aafb3321b75976bd4614d5c033df175853f0cbb0;p=github%2Fwallabag%2Fwallabag.git diff --git a/.travis.yml b/.travis.yml index b0b26b56..9973bcae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,8 +91,9 @@ before_install: - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi; script: - - travis_wait bash install_dev.sh + - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist - ant prepare-$DB - - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then phpunit -v ; fi; + - if [[ $VALIDATE_TRANSLATION_FILE = '' || $ASSETS = '' ]]; 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 [[ $ASSETS = build ]]; then node_modules/grunt-cli/bin/grunt ; fi;