This commit is contained in:
Thomas Sileo 2019-02-24 21:34:09 +01:00
parent 1a7a02a221
commit 5b38c5e723

View file

@ -1,7 +1,12 @@
language: python language: python
sudo: required sudo: required
python: python:
- "3.6" - '3.7'
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
services: services:
- docker - docker
install: install:
@ -23,8 +28,6 @@ script:
- WEB_PORT=5007 CONFIG_DIR=./tests/fixtures/instance2/config docker-compose -p instance2 -f docker-compose-tests.yml up -d - WEB_PORT=5007 CONFIG_DIR=./tests/fixtures/instance2/config docker-compose -p instance2 -f docker-compose-tests.yml up -d
- docker-compose -p instance2 -f docker-compose-tests.yml ps - docker-compose -p instance2 -f docker-compose-tests.yml ps
- sleep 5 - sleep 5
- curl http://localhost:5006
- curl http://localhost:5007
# Integration tests first # Integration tests first
- python -m pytest -v --ignore data -k integration - python -m pytest -v --ignore data -k integration
# Federation tests (with two local instances) # Federation tests (with two local instances)