]> 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 d1c7017291d5a1f1ee5a18196acf46c0106160aa..1b2bf97b8a785d5f5942571d9362d310517f0af1 100644 (file)
@@ -1,11 +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 test
+  - make clean
+  - make check_permissions
+  - make eslint
+  - make all_tests