Skip to content

Commit bcd1038

Browse files
committed
CI testing for docker-compose build
refs. https://docs.travis-ci.com/user/docker/
1 parent dff569c commit bcd1038

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.travis.yml

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
1+
sudo: required
2+
13
language: python
4+
5+
services:
6+
- docker
7+
8+
env:
9+
- DOCKER_COMPOSE_VERSION=1.21.1
10+
11+
before_install:
12+
- sudo rm /usr/local/bin/docker-compose
13+
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
14+
- chmod +x docker-compose
15+
- sudo mv docker-compose /usr/local/bin
16+
217
install:
318
- pip install -r requirements-dev.txt
19+
420
script:
521
- bash tests/scripts/unit_tests.sh
22+
- travis_wait docker-compose build

0 commit comments

Comments
 (0)