From: Jeremy Benoist Date: Fri, 19 May 2017 09:41:10 +0000 (+0200) Subject: Fold migrations & fixtures command on Travis X-Git-Tag: 2.3.0~31^2~90^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=1f155b29db9063446dc21880cf777c7e9f024da0;p=github%2Fwallabag%2Fwallabag.git Fold migrations & fixtures command on Travis --- diff --git a/.travis.yml b/.travis.yml index fb32befb..e6cf96cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -69,6 +69,15 @@ before_install: script: - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist - ant prepare-$DB + + - echo "travis_fold:start:migrations" + - php bin/console doctrine:migrations:migrate --no-interaction --env=test + - echo "travis_fold:end:migrations" + + - 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 src/ --verbose --dry-run ; fi; - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi; diff --git a/build.xml b/build.xml index b5727e62..b9fe6136 100644 --- a/build.xml +++ b/build.xml @@ -62,18 +62,6 @@ - - - - - - - - - - - - @@ -103,18 +91,6 @@ - - - - - - - - - - - - @@ -149,18 +125,6 @@ - - - - - - - - - - - -