aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-10-04 16:26:50 +0200
committerGitHub <noreply@github.com>2016-10-04 16:26:50 +0200
commit57386125abc5c50c1438cf7e78d01f06021adc0a (patch)
treed3f26102f9697247c93ac69db6000d15e96fbb23 /.travis.yml
parentf2ab290f0fc8a2909bb490e0ed2d91a677a95cc4 (diff)
parentc10adc1f762d004350a7921250c6821baa866e2d (diff)
downloadwallabag-57386125abc5c50c1438cf7e78d01f06021adc0a.tar.gz
wallabag-57386125abc5c50c1438cf7e78d01f06021adc0a.tar.zst
wallabag-57386125abc5c50c1438cf7e78d01f06021adc0a.zip
Merge pull request #2353 from wallabag/assets-fix
Basically, fix everything
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;