Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 100ec73

Browse files
committed
Stop installing docker-compose as is already part of TravisCI env
1 parent 1eac8e0 commit 100ec73

File tree

3 files changed

+4
-68
lines changed

3 files changed

+4
-68
lines changed

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Even though we run everything inside docker Travis require
2-
# us to pick a language else it will pick Ruby by default
3-
# Choose a lightweight base image; we provide our own build tools.
4-
# https://github.com/lukasmartinelli/hadolint/blob/master/.travis.yml#L1
5-
# language: generic was failing in OSX so in that case you can use language: c
1+
# Even though we run everything inside docker,
2+
# Travis requires us to pick a language else it will pick Ruby by default.
3+
# Let's choose a lightweight base image then we provide our own build tools.
4+
# Note: `language: generic` was failing in OSX so in that case you can use language: c
65
language: generic
76

87
# Omit running tests on temporal branches,
@@ -28,7 +27,6 @@ matrix:
2827
- docker
2928
env:
3029
- DOCKER_VERSION="stable"
31-
DOCKER_COMPOSE_VERSION="1.14.0"
3230
DOCKER_PUSH=true
3331
DOCKER_PUSH_LATEST=true
3432

test/before_install_docker_compose

Lines changed: 0 additions & 47 deletions
This file was deleted.

test/before_install_setup

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,4 @@ fi
1717
docker --version || (echo "FATAL: No docker installed" && exit 1)
1818

1919
# Docker Compose
20-
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
21-
echo "OSX should already have docker-compose installed at this point"
22-
else
23-
docker-compose --version || echo "INFO: No docker compose installed yet"
24-
sudo -E bash -c './test/before_install_docker_compose'
25-
fi
2620
docker-compose --version || (echo "FATAL: No docker compose installed" && exit 1)
27-
28-
# Git latest stable to avoid hang on `git merge travis-${TRAVIS_TAG}`
29-
# sudo add-apt-repository -y ppa:git-core/ppa
30-
# sudo apt-get -qyy update
31-
# sudo apt-get -qyy install git
32-
# git --version #=> 2.9.2
33-
34-
# Notes:
35-
# sudo -E or --preserve-env will preserve travis env vars like DOCKER_COMPOSE_VERSION

0 commit comments

Comments
 (0)