mirror of
https://github.com/dense-analysis/ale
synced 2024-12-23 14:45:29 +00:00
Revert "Try adding Docker caching for Travis CI"
This reverts commit 1990efdba7
.
This commit is contained in:
parent
1487c8daa0
commit
ccfed164bc
14
.travis.yml
14
.travis.yml
@ -1,21 +1,7 @@
|
||||
---
|
||||
# yamllint disable rule:line-length
|
||||
sudo: required
|
||||
services:
|
||||
- docker
|
||||
language: generic
|
||||
# Set up Docker caching per: https://github.com/travis-ci/travis-ci/issues/5358#issuecomment-248915326
|
||||
before_cache:
|
||||
# Save tagged docker images
|
||||
- >
|
||||
mkdir -p $HOME/docker && docker images -a --filter='dangling=false' --format '{{.Repository}}:{{.Tag}} {{.ID}}'
|
||||
| xargs -n 2 -t sh -c 'test -e $HOME/docker/$1.tar.gz || docker save $0 | gzip -2 > $HOME/docker/$1.tar.gz'
|
||||
before_install:
|
||||
# Load cached docker images
|
||||
- if [[ -d $HOME/docker ]]; then ls $HOME/docker/*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load"; fi
|
||||
cache:
|
||||
bundler: true
|
||||
directories:
|
||||
- $HOME/docker
|
||||
script: |
|
||||
./run-tests
|
||||
|
Loading…
Reference in New Issue
Block a user