]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - .travis.yml
Webpack / Configure webpack, ESLint, Travis, Makefile, npm/yarn and git
[github/shaarli/Shaarli.git] / .travis.yml
index 80db65060510272f9c51e83c64773b20538a6842..1b2bf97b8a785d5f5942571d9362d310517f0af1 100644 (file)
@@ -1,13 +1,23 @@
 sudo: false
+dist: trusty
 language: php
+cache:
+  yarn: true
+  directories:
+    - $HOME/.composer/cache
+    - $HOME/.cache/yarn
 php:
+  - 7.2
+  - 7.1
+  - 7.0
   - 5.6
-  - 5.5
-  - 5.4
-  - 5.3
 install:
-  - composer self-update
-  - composer install
+  - yarn install
+  - composer install --prefer-dist
+before_script:
+  - PATH=${PATH//:\.\/node_modules\/\.bin/}
 script:
   - make clean
-  - make test
+  - make check_permissions
+  - make eslint
+  - make all_tests