sudo: required

services:
  - docker

dist: xenial

language: python
python:
  - "3.6"

install:
 - ./run --isolate --background
 - npm install -g apidoc
 - npm run apidoc
 - npm install -g eslint
 - pip install -r test/requirements.txt

script:
 - npm run lint
 - test/check-style
 - ./wait-for-api || { docker ps; docker logs cacophony-api; exit 1; }
 - cd test && pytest -s

sudo: required

services:
  - docker

dist: xenial

language: python
python:
  - "3.6"

install:
 - ./run --isolate --background
 - npm install -g apidoc
 - npm run apidoc
 - npm install -g eslint
 - pip install -r test/requirements.txt

script:
 - npm run lint
 - test/check-style
 - ./wait-for-api || { docker ps; docker logs cacophony-api; exit 1; }
 - cd test && pytest

Make test output readable during TravisCI runs
Make test output readable during TravisCI runs
