Travis: enable Composer cache

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>
This commit is contained in:
VirtualTam 2016-10-20 00:19:52 +02:00
parent 918bd5b912
commit ae04803bb1
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,8 @@
sudo: false sudo: false
language: php language: php
cache:
directories:
- $HOME/.composer/cache
php: php:
- 7.0 - 7.0
- 5.6 - 5.6
@ -8,7 +11,7 @@ php:
- 5.3 - 5.3
install: install:
- composer self-update - composer self-update
- composer install - composer install --prefer-dist
script: script:
- make clean - make clean
- make check_permissions - make check_permissions

View 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 ## [v0.8.1](https://github.com/shaarli/Shaarli/releases/tag/v0.8.1) - UNPUBLISHED
### Added ### Added
- Add CHANGELOG.md to track the whole project's history - 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 - Save the last edition date for shaares and use it in Atom/RSS feeds
- Plugins: - Plugins:
- Add an [Isso](https://posativ.org/isso/) plugin to enable user comments on permalinks - Add an [Isso](https://posativ.org/isso/) plugin to enable user comments on permalinks