From 0c8f3d085ada369324fdc46a846be19351caeacf Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 20 May 2018 22:05:50 +0200 Subject: [PATCH] Add docker in Travis --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1ba661d..726fc2d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,14 @@ language: python +sudo: required python: - "3.6" +services: + - docker install: - - pip install pytest mypy flake8 + - sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose + - sudo chmod +x /usr/local/bin/docker-compose + - docker-compose --version + - pip install pytest mypy flake8 script: # - flake8 - mypy --ignore-missing-imports .