language: python
python:
  - "3.6"
env:
  - DJANGO_VERSION=2.0.2
# command to install dependencies
install:
  - "pip install -q -e ."
  - "pip install -q -r demo/requirements.txt"
  - "pip install -q Django==$DJANGO_VERSION"

# command to run tests
script: "cd demo && python manage.py makemigrations && python manage.py test plans"

language: python
python:
  - "3.6"
env:
  - DJANGO_VERSION=2.0.2
# command to install dependencies
install:
  - "pip install -q -e ."
  - "pip install -q -r demo/requirements.txt"
  - "pip install -q Django==$DJANGO_VERSION"
  - "pip install codecov"

# command to run tests
script: "cd demo && python manage.py makemigrations && coverage run manage.py test plans"

Install codecov and run in coverage
Install codecov and run in coverage