Trying full path for docker_images dir.
This commit is contained in:
parent
9ed1652894
commit
c239c1ffa1
1 changed files with 5 additions and 3 deletions
8
.travis.yml
vendored
8
.travis.yml
vendored
|
@ -14,19 +14,21 @@ branches:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- DOCKER_COMPOSE_VERSION=1.25.5
|
- DOCKER_COMPOSE_VERSION=1.25.5
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
bundler: true
|
||||||
directories:
|
directories:
|
||||||
- docker_images
|
- $HOME/docker_images
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo rm /usr/local/bin/docker-compose
|
- 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
|
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
|
||||||
- chmod +x docker-compose
|
- chmod +x docker-compose
|
||||||
- sudo mv docker-compose /usr/local/bin
|
- 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
|
- cd docker/travis
|
||||||
before_cache:
|
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:
|
# install:
|
||||||
# - docker build -t hnakamur/example .
|
# - docker build -t hnakamur/example .
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue