Skip to content

Commit

Permalink
Merge pull request #4915 from pamil/travis/improve-caching
Browse files Browse the repository at this point in the history
[Travis] Improve caching
  • Loading branch information
Paweł Jędrzejewski committed Apr 29, 2016
2 parents 6c68715 + 1c7b402 commit 2abe0e4
Showing 1 changed file with 8 additions and 26 deletions.
34 changes: 8 additions & 26 deletions .travis.yml
Expand Up @@ -12,59 +12,41 @@ matrix:
-
php: 7.0
env: SYLIUS_SUITE="application"
cache:
directories:
- vendor
- bin
- node_modules
- $SYLIUS_CACHE_DIR
services:
- memcached
-
php: 7.0
env: SYLIUS_SUITE="packages"
cache:
directories:
- ~/.composer/cache/files
- $SYLIUS_CACHE_DIR
addons:
apt:
packages:
- parallel
-
php: 5.6
env: SYLIUS_SUITE="application"
cache:
directories:
- vendor
- bin
- node_modules
- $SYLIUS_CACHE_DIR
services:
- memcached
-
php: 5.5
env: SYLIUS_SUITE="application"
cache:
directories:
- vendor
- bin
- node_modules
- $SYLIUS_CACHE_DIR
services:
- memcached
-
php: 5.5
env: SYLIUS_SUITE="packages"
cache:
directories:
- ~/.composer/cache/files
- $SYLIUS_CACHE_DIR
addons:
apt:
packages:
- parallel

cache:
directories:
- ~/.composer/cache/files
- vendor
- bin
- node_modules
- $SYLIUS_CACHE_DIR

before_install:
- etc/travis/run-suite ${SYLIUS_SUITE} before_install

Expand Down

0 comments on commit 2abe0e4

Please sign in to comment.