-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
21 lines (18 loc) · 959 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sudo: required
env:
matrix:
- DOCKER_VERSION=18.06.3~ce~3-0~ubuntu DOCKER_COMPOSE_VERSION=1.22.0
- DOCKER_VERSION=18.06.2~ce~3-0~ubuntu DOCKER_COMPOSE_VERSION=1.22.0
- DOCKER_VERSION=18.06.1~ce~3-0~ubuntu DOCKER_COMPOSE_VERSION=1.22.0
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- apt-cache madison docker-ce
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce=${DOCKER_VERSION}
- 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
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
script:
- docker-compose -f docker-compose.yml -f docker-compose.test.yml up -d