summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 43d85a4e4..5070c24c2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,6 +23,10 @@ services:
- mysql
- postgresql
+cache:
+ directories:
+ - $HOME/.composer/cache
+
before_script:
- sh -c "composer install --no-progress"
- sh -c "if [ '$DB' = 'pgsql' ] || [ '$DB' = 'pdo/pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS ci_test;' -U postgres; fi"