aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-05-19 11:41:10 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-05-19 13:10:44 +0200
commit1f155b29db9063446dc21880cf777c7e9f024da0 (patch)
treeca9f40b67ae61e368d564297baae7c502991c1d3 /.travis.yml
parent4ab0d25f652bdfe184046be6d50afd594709e1a9 (diff)
downloadwallabag-1f155b29db9063446dc21880cf777c7e9f024da0.tar.gz
wallabag-1f155b29db9063446dc21880cf777c7e9f024da0.tar.zst
wallabag-1f155b29db9063446dc21880cf777c7e9f024da0.zip
Fold migrations & fixtures command on Travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index fb32befb..e6cf96cb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -69,6 +69,15 @@ before_install:
69script: 69script:
70 - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist 70 - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist
71 - ant prepare-$DB 71 - ant prepare-$DB
72
73 - echo "travis_fold:start:migrations"
74 - php bin/console doctrine:migrations:migrate --no-interaction --env=test
75 - echo "travis_fold:end:migrations"
76
77 - echo "travis_fold:start:fixtures"
78 - php bin/console doctrine:fixtures:load --no-interaction --env=test
79 - echo "travis_fold:end:fixtures"
80
72 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then ./bin/simple-phpunit -v ; fi; 81 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then ./bin/simple-phpunit -v ; fi;
73 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi; 82 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi;
74 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi; 83 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi;