Skip to content

Commit

Permalink
Update travis to cache vendor, use dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Willem Stuursma committed Jan 25, 2017
1 parent 0b25820 commit d95abc7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ php:

sudo: false

cache:
directories:
- vendor
- $HOME/.composer/cache

install:
- travis_retry composer install --no-interaction --prefer-source
- travis_retry composer install --no-interaction

script:
- if [ "$TRAVIS_PHP_VERSION" != "5.5.9" ] && [ "$TRAVIS_PHP_VERSION" != "5.5" ] && [ "$TRAVIS_PHP_VERSION" != "5.6" ]; then vendor/bin/phpunit; fi
Expand Down

0 comments on commit d95abc7

Please sign in to comment.