]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - .travis.yml
Merge pull request #1566 from nodiscc/makefile-composer-install
[github/shaarli/Shaarli.git] / .travis.yml
index c414967b5b4f9d930072d2f1e9a6ff36d82617a6..af04a022fc2de2665b4bc752ed1f9faac1207151 100644 (file)
@@ -13,7 +13,7 @@ matrix:
       php: 7.1
     # jobs for frontend builds
     - language: node_js
-      node_js: 8
+      node_js: 10
       cache:
         yarn: true
         directories:
@@ -43,7 +43,8 @@ cache:
 
 install:
   # install/update composer and php dependencies
-  - composer install --prefer-dist
+  - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION
+  - composer update
 
 before_script:
   - PATH=${PATH//:\.\/node_modules\/\.bin/}