]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Travis: enable Composer cache 670/head
authorVirtualTam <virtualtam@flibidi.net>
Wed, 19 Oct 2016 22:19:52 +0000 (00:19 +0200)
committerVirtualTam <virtualtam@flibidi.net>
Wed, 19 Oct 2016 22:28:01 +0000 (00:28 +0200)
See:
- https://docs.travis-ci.com/user/caching/
- https://blog.wyrihaximus.net/2015/07/composer-cache-on-travis/

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
.travis.yml
CHANGELOG.md

index 7408b2e2dfd918abc4b085d22d1006c647ce1504..9ffb3d007b971db6e450c9744ffd3e778be3b7b7 100644 (file)
@@ -1,5 +1,8 @@
 sudo: false
 language: php
+cache:
+  directories:
+    - $HOME/.composer/cache
 php:
   - 7.0
   - 5.6
@@ -8,7 +11,7 @@ php:
   - 5.3
 install:
   - composer self-update
-  - composer install
+  - composer install --prefer-dist
 script:
   - make clean
   - make check_permissions
index 5bd16dcd285e62ecf0058f632ce672365fae0147..60af7223cf35ede5d055d585ae680a3cfcfb3703 100644 (file)
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
 ## [v0.8.1](https://github.com/shaarli/Shaarli/releases/tag/v0.8.1) - UNPUBLISHED
 ### Added
 - Add CHANGELOG.md to track the whole project's history
+- Enable Composer cache for Travis builds
 - Save the last edition date for shaares and use it in Atom/RSS feeds
 - Plugins:
     - Add an [Isso](https://posativ.org/isso/) plugin to enable user comments on permalinks