dist: xenial

language: python

python:
  - "2.7"

install:
  - pip install -r requirements.txt
  - pip install -r requirements-dev.txt
  - pip install pycodestyle

script:
  - cd app
  - >
    for dir in
    models/tests
    utils/tests
    utils/build/tests
    utils/bisect/tests
    utils/report/tests
    handlers/common/tests;
    do
      echo Running tests in $dir
      python -m unittest discover $dir || exit 1
    done
  - pycodestyle .

dist: xenial

language: python

python:
  - "2.7"

install:
  - pip install -r requirements.txt
  - pip install -r requirements-dev.txt
  - pip install pycodestyle

script:
  - cd app
  - >
    for dir in
    models/tests
    utils/bisect/tests
    utils/report/tests;
    do
      echo Running tests in $dir
      python -m unittest discover $dir || exit 1
    done
  - pycodestyle .

Disable broken unit tests in Travis CI
Disable broken unit tests in Travis CI

Some unit tests need a newer version of mongomock, this will take some
time to fix so disable them in Travis CI for now.

Signed-off-by: Guillaume Tucker <e7e20b7c30f19d4ca6b81319ef81bf200369d137@collabora.com>
