aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 4170ff04..f1334f52 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,9 +42,7 @@ matrix:
42 fast_finish: true 42 fast_finish: true
43 include: 43 include:
44 - php: 7.0 44 - php: 7.0
45 env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run DB=sqlite 45 env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite
46 - php: 7.0
47 env: DB=sqlite ASSETS=build
48 allow_failures: 46 allow_failures:
49 - php: 7.1 47 - php: 7.1
50 - php: nightly 48 - php: nightly
@@ -66,13 +64,15 @@ before_script:
66install: 64install:
67 - if [[ $ASSETS = build ]]; then source ~/.nvm/nvm.sh && nvm install 5.0; fi; 65 - if [[ $ASSETS = build ]]; then source ~/.nvm/nvm.sh && nvm install 5.0; fi;
68 - if [[ $ASSETS = build ]]; then npm install -g npm@latest; fi; 66 - if [[ $ASSETS = build ]]; then npm install -g npm@latest; fi;
67 - if [[ $ASSETS = build ]]; then npm install; fi;
69 68
70before_install: 69before_install:
71 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi; 70 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
72 71
73script: 72script:
74 - travis_wait bash install_dev.sh 73 - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist
75 - ant prepare-$DB 74 - ant prepare-$DB
76 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then phpunit -v ; fi; 75 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then phpunit -v ; fi;
77 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi; 76 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi;
78 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi; 77 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi;
78 - if [[ $ASSETS = build ]]; then ./node_modules/grunt-cli/bin/grunt tests; fi;