File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,18 @@ dist: trusty
3232
3333env :
3434 global :
35+ - DOCKER_COMPOSE_VERSION : 1.22.0
3536 - GIT_SUBMODULE_STRATEGY : recursive
3637 - IMAGE_REGISTRY : registry.hub.docker.com
3738 - IMAGE_NAME : registry.hub.docker.com/$TRAVIS_REPO_SLUG
3839 - ARTIFACTS_PATH : $TRAVIS_BUILD_DIR/artifacts
3940
41+ before_install :
42+ - sudo rm /usr/local/bin/docker-compose
43+ - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
44+ - chmod +x docker-compose
45+ - sudo mv docker-compose /usr/local/bin
46+
4047script :
4148 - $TRAVIS_BUILD_DIR/docker-compose.sh pull
4249 - $TRAVIS_BUILD_DIR/docker-compose.sh build-cache
@@ -46,4 +53,3 @@ script:
4653# after_script:
4754# - docker pull tsub/ghr
4855# - docker run -v $TRAVIS_BUILD_DIR:/work -w /work -e GITHUB_TOKEN=$GITHUB_TOKEN ghr --username user --repository repo v1.0.0 pkg/
49-
You can’t perform that action at this time.
0 commit comments