2018-05-18 18:41:41 +00:00
|
|
|
language: python
|
2018-05-20 20:05:50 +00:00
|
|
|
sudo: required
|
2018-05-18 18:41:41 +00:00
|
|
|
python:
|
|
|
|
- "3.6"
|
2018-05-20 20:05:50 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2018-05-18 18:41:41 +00:00
|
|
|
install:
|
2018-05-20 20:40:14 +00:00
|
|
|
- sudo pip install -U pip
|
2018-05-20 20:05:50 +00:00
|
|
|
- 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
|
2018-05-20 20:34:56 +00:00
|
|
|
- pip install -r dev-requirements.txt
|
2018-05-18 18:41:41 +00:00
|
|
|
script:
|
2018-05-20 20:11:32 +00:00
|
|
|
- mypy --ignore-missing-imports .
|
2018-05-20 20:34:56 +00:00
|
|
|
# - flake8
|
2018-05-20 20:11:32 +00:00
|
|
|
- cp -r tests/me.yml config/me.yml
|
|
|
|
- docker-compose up -d
|
|
|
|
- docker-compose ps
|
2018-05-20 20:40:14 +00:00
|
|
|
- sleep 2
|
|
|
|
- docker-compose logs web
|
2018-05-20 20:34:56 +00:00
|
|
|
- pytest -v --ignore data
|