From c239c1ffa1d9b2e5b4a1c75ea201c13d8a284af5 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 23 Jul 2020 22:25:20 -0400 Subject: [PATCH] Trying full path for docker_images dir. --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 955932b74..e8c838dfa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,19 +14,21 @@ branches: env: - DOCKER_COMPOSE_VERSION=1.25.5 + cache: + bundler: true directories: - - docker_images + - $HOME/docker_images before_install: - sudo rm /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin - - docker load -i docker_images/images.tar || true + - docker load -i $HOME/docker_images/images.tar || true - cd docker/travis before_cache: - - docker save -o docker_images/images.tar $(docker images -a -q) + - docker save -o $HOME/docker_images/images.tar $(docker images -a -q) # install: # - docker build -t hnakamur/example . script: