language: python

sudo: false

python:
  - "3.6"
  - "3.7-dev"
  - "pypy3"

env:
  - DJANGO_VERSION="1.10.8"
  - DJANGO_VERSION="1.11.20"
  - DJANGO_VERSION="2.0.13"
  - DJANGO_VERSION="2.1.8"
  - DJANGO_VERSION="2.2.0"

matrix:
  fast_finish: true
  include:
  - python: "2.7"
    env: DJANGO_VERSION="1.7.11"

install: 
  - pip install --upgrade pytest setuptools
  - pip install -q "Django~=$DJANGO_VERSION"
  - pip install --editable ".[dev]"
  - if [[ $DJANGO_VERSION == '1.7'* ]]; then pip install "djangorestframework<3" "pytest-django<3.2"; fi

script: 
  - pip freeze
  - pytest --cov=drf_queryfields

after_success:
  - coverage combine
  - coveralls

notifications:
  email: false

language: python

sudo: false

python:
  - "3.6"
  - "3.7"
  - "3.8"
  - "3.9"
  - "pypy3"

env:
  - DJANGO_VERSION="1.10.8"
  - DJANGO_VERSION="1.11.20"
  - DJANGO_VERSION="2.0.13"
  - DJANGO_VERSION="2.1.8"
  - DJANGO_VERSION="2.2.0"
  - DJANGO_VERSION="3.0.4"
  - DJANGO_VERSION="3.1.12"
  - DJANGO_VERSION="3.2.4"

matrix:
  fast_finish: true
  include:
  - python: "2.7"
    env: DJANGO_VERSION="1.7.11"

install: 
  - pip install --upgrade pytest setuptools
  - pip install -q "Django~=$DJANGO_VERSION"
  - pip install --editable ".[dev]"
  - if [[ $DJANGO_VERSION == '1.7'* ]]; then pip install "djangorestframework<3" "pytest-django<3.2"; fi

script: 
  - pip freeze
  - pytest --cov=drf_queryfields

after_success:
  - coverage combine
  - coveralls

notifications:
  email: false

Add more python and django versions
Add more python and django versions