Add docker in Travis

This commit is contained in:
Thomas Sileo 2018-05-20 22:05:50 +02:00
parent 2febca5711
commit 0c8f3d085a

View file

@ -1,8 +1,14 @@
language: python language: python
sudo: required
python: python:
- "3.6" - "3.6"
services:
- docker
install: 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: script:
# - flake8 # - flake8
- mypy --ignore-missing-imports . - mypy --ignore-missing-imports .