Skip to content

Commit

Permalink
Speeding up travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdohms committed Feb 28, 2016
1 parent 7a6e35e commit fcfba15
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
@@ -1,4 +1,9 @@
language: php
sudo: false

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

php:
- 5.3
Expand Down Expand Up @@ -32,8 +37,8 @@ matrix:

before_script:
- composer self-update -q
- if [ -z "$dependencies" ]; then composer install; fi;
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest -n; fi;
- if [ "$dependencies" = "highest" ]; then composer update -n; fi;
- if [ -z "$dependencies" ]; then composer install --prefer-dist; fi;
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi;
- if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi;

script: phpunit

0 comments on commit fcfba15

Please sign in to comment.