Skip to content

Commit 9b048fa

Browse files
committed
Use the Travis cache to persist the composer cache
1 parent 55dcd43 commit 9b048fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ matrix:
1010
allow_failures:
1111
- php: hhvm
1212
- php: hhvm-nightly
13+
14+
cache:
15+
directories:
16+
- $HOME/.composer/cache
1317

1418
script:
1519
- vendor/bin/phpunit --coverage-clover=coverage.clover
1620

1721
before_script:
18-
- composer install --no-interaction --prefer-source --dev
22+
- composer install --no-interaction
1923

2024
after_script:
2125
- wget https://scrutinizer-ci.com/ocular.phar

0 commit comments

Comments
 (0)