diff options
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 8d900d27..dea3da4a 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; |