diff options
author | VirtualTam <virtualtam@flibidi.net> | 2016-10-20 00:19:52 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2016-10-20 00:28:01 +0200 |
commit | ae04803bb1f5107555b7c7fad49e4c1ae1f93ca7 (patch) | |
tree | 2689a892a3d189f7a6b3b6bf1380828c8222a917 /.travis.yml | |
parent | 918bd5b9122f929268e0979063c4844e85090858 (diff) | |
download | Shaarli-ae04803bb1f5107555b7c7fad49e4c1ae1f93ca7.tar.gz Shaarli-ae04803bb1f5107555b7c7fad49e4c1ae1f93ca7.tar.zst Shaarli-ae04803bb1f5107555b7c7fad49e4c1ae1f93ca7.zip |
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>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 7408b2e2..9ffb3d00 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,5 +1,8 @@ | |||
1 | sudo: false | 1 | sudo: false |
2 | language: php | 2 | language: php |
3 | cache: | ||
4 | directories: | ||
5 | - $HOME/.composer/cache | ||
3 | php: | 6 | php: |
4 | - 7.0 | 7 | - 7.0 |
5 | - 5.6 | 8 | - 5.6 |
@@ -8,7 +11,7 @@ php: | |||
8 | - 5.3 | 11 | - 5.3 |
9 | install: | 12 | install: |
10 | - composer self-update | 13 | - composer self-update |
11 | - composer install | 14 | - composer install --prefer-dist |
12 | script: | 15 | script: |
13 | - make clean | 16 | - make clean |
14 | - make check_permissions | 17 | - make check_permissions |