aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 29ca7dc3..d7c28388 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,11 +20,9 @@ cache:
20 - vendor 20 - vendor
21 - $HOME/.composer/cache 21 - $HOME/.composer/cache
22 - node_modules 22 - node_modules
23 - $HOME/.cache/bower
24 - $HOME/.npm 23 - $HOME/.npm
25 24
26php: 25php:
27 - 5.5
28 - 5.6 26 - 5.6
29 - 7.0 27 - 7.0
30 - 7.1 28 - 7.1
@@ -60,9 +58,9 @@ before_script:
60 - if [[ $DB = pgsql ]]; then psql -c 'create database wallabag_test;' -U postgres; fi; 58 - if [[ $DB = pgsql ]]; then psql -c 'create database wallabag_test;' -U postgres; fi;
61 59
62install: 60install:
63 - if [[ $ASSETS = build ]]; then source ~/.nvm/nvm.sh && nvm install 6.7; fi; 61 - if [[ $ASSETS = build ]]; then source ~/.nvm/nvm.sh && nvm install 6.10; fi;
64 - if [[ $ASSETS = build ]]; then npm install -g npm@latest; fi; 62 - if [[ $ASSETS = build ]]; then npm install -g yarn@latest; fi;
65 - if [[ $ASSETS = build ]]; then npm install; fi; 63 - if [[ $ASSETS = build ]]; then yarn install; fi;
66 64
67before_install: 65before_install:
68 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi; 66 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
@@ -75,4 +73,4 @@ script:
75 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi; 73 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi;
76 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml app/Resources/CraueConfigBundle/translations -v ; fi; 74 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml app/Resources/CraueConfigBundle/translations -v ; fi;
77 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/UserBundle/Resources/translations -v ; fi; 75 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/UserBundle/Resources/translations -v ; fi;
78 - if [[ $ASSETS = build ]]; then ./node_modules/grunt-cli/bin/grunt tests; fi; 76 - if [[ $ASSETS = build ]]; then yarn run build:prod; fi;