sudo: false
cache:
  directories:
    - $HOME/.cache/pip
language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
install:
  - pip install -U pip pytest>=3.0.0
  - "pip install $DJANGO -e .[dev]"
script:
  - flake8 valohai_yaml
  - py.test -vvv --cov .
after_success:
  - bash <(curl -s https://codecov.io/bash)

dist: xenial
cache:
  directories:
    - $HOME/.cache/pip
language: python
python:
  - "3.5"
  - "3.6"
  - "3.7"
install:
  - pip install -U pip pytest>=3.0.0
  - "pip install -e .[dev]"
script:
  - flake8 valohai_yaml
  - py.test -vvv --cov .
after_success:
  - bash <(curl -s https://codecov.io/bash)

Stop testing on Python 2
Stop testing on Python 2
