From 40095dd11de792afe6c4bdba87c7d54076d6d6e3 Mon Sep 17 00:00:00 2001 From: sapics Date: Tue, 14 Apr 2020 00:42:31 +0900 Subject: Add composer cache in Travis --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) 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" -- cgit v1.2.3-24-g4f1b