summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsapics <gv.nishino@gmail.com>2020-04-13 17:42:31 +0200
committersapics <gv.nishino@gmail.com>2020-04-13 17:42:31 +0200
commit40095dd11de792afe6c4bdba87c7d54076d6d6e3 (patch)
tree5d4462520c216fdaf1615914a7c9bda865df2274
parent183ae7c2d217c76a5c77fc555f612ad4fc71633e (diff)
Add composer cache in Travis
-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"