mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Add docker in Travis
This commit is contained in:
parent
2febca5711
commit
0c8f3d085a
1 changed files with 7 additions and 1 deletions
|
@ -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 .
|
||||
|
|
Loading…
Reference in a new issue