Skip to content

Commit 2fb35cb

Browse files
committed
Add Composer dist files to Travis cache
This also removes "--prefer-source", which should result in Composer downloading dist releases by default.
1 parent 9fe5f76 commit 2fb35cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ addons:
1010
cache:
1111
directories:
1212
- ${HOME}/.cache/pip
13+
- ${HOME}/.composer/cache/files
1314

1415
env:
1516
global:
@@ -51,7 +52,7 @@ before_script:
5152
- pushd ${MO_PATH} && ${TRAVIS_BUILD_DIR}/.travis/mo.sh configurations/servers/clean.json start && popd
5253
- pecl install -f mongodb-${DRIVER_VERSION}
5354
- php --ri mongodb
54-
- composer install --dev --no-interaction --prefer-source
55+
- composer install --no-interaction --no-progress --no-suggest
5556
- ulimit -c
5657
- ulimit -c unlimited -S
5758

0 commit comments

Comments
 (0)