Skip to content

Commit 8cefbb2

Browse files
committed
Merge pull request #29 from kohana/3.3/bug/travis-composer-no-interaction
Resolve composer downloading and caching issues on Travis
2 parents 8754595 + 0a535a7 commit 8cefbb2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ branches:
99

1010
cache:
1111
directories:
12-
- vendor
13-
- $HOME/.composer/cache
12+
- $HOME/.composer/cache/files
1413

1514
php:
1615
- 5.3
@@ -26,8 +25,9 @@ matrix:
2625
env: 'COMPOSER_PHPUNIT="lowest"'
2726

2827
before_script:
29-
- composer install --prefer-dist
30-
- if [ "$COMPOSER_PHPUNIT" = "lowest" ]; then composer update --prefer-lowest --with-dependencies phpunit/phpunit; fi;
28+
- composer self-update
29+
- composer install --prefer-dist --no-interaction
30+
- if [ "$COMPOSER_PHPUNIT" = "lowest" ]; then composer update --prefer-lowest --with-dependencies --prefer-dist --no-interaction phpunit/phpunit; fi;
3131
- vendor/bin/koharness
3232

3333
script:

0 commit comments

Comments
 (0)