diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 77872f49..d7c28388 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -20,7 +20,6 @@ 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 | ||
26 | php: | 25 | php: |
@@ -59,9 +58,9 @@ before_script: | |||
59 | - 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; |
60 | 59 | ||
61 | install: | 60 | install: |
62 | - 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; |
63 | - if [[ $ASSETS = build ]]; then npm install -g npm@latest; fi; | 62 | - if [[ $ASSETS = build ]]; then npm install -g yarn@latest; fi; |
64 | - if [[ $ASSETS = build ]]; then npm install; fi; | 63 | - if [[ $ASSETS = build ]]; then yarn install; fi; |
65 | 64 | ||
66 | before_install: | 65 | before_install: |
67 | - 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; |
@@ -74,4 +73,4 @@ script: | |||
74 | - 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; |
75 | - 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; |
76 | - 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; |
77 | - if [[ $ASSETS = build ]]; then ./node_modules/grunt-cli/bin/grunt tests; fi; | 76 | - if [[ $ASSETS = build ]]; then yarn run build:prod; fi; |