From a9adc18b88ac460baf823ce9cc6dcc97b12c7d51 Mon Sep 17 00:00:00 2001 From: Kononnable Date: Sat, 24 Nov 2018 20:00:14 +0100 Subject: [PATCH] optimizing travis docker image download time --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 55a040f..a1bd34b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,6 +33,7 @@ before_install: - if [ -z "$DOCKER_USERNAME" ]; then echo "DOCKER_USERNAME is unset"; else echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin; fi - if [ -z "$DOCKER_USERNAME" ]; then mv docker-compose-without-login.yml docker-compose.yml; fi - if [ -z "$DOCKER_USERNAME" ]; then export ORACLE_Skip=1; fi +- docker-compose pull --parallel - docker-compose up -d - npm install -g npm@5 - npm install -g greenkeeper-lockfile@1 @@ -46,7 +47,6 @@ before_script: - npm link typescript - tsc - sleep 180 -- docker logs typeorm-mg-postgres after_script: - greenkeeper-lockfile-upload