dist: xenial
language: python
cache: pip
services:
  - postgresql
python:
  - "3.5"
  - "3.6"
  - "3.7"
env:
  global:
    - IMPORT_EXPORT_POSTGRESQL_USER=postgres
  matrix:
    - DJANGO="Django>=2.0,<2.1"
    - DJANGO="Django>=2.1,<2.2"
    - DJANGO="https://github.com/django/django/archive/master.tar.gz"
    - IMPORT_EXPORT_TEST_TYPE=postgres
    - IMPORT_EXPORT_TEST_TYPE=sqlite
install:
  - pip install -q $DJANGO
  - pip install tablib==0.12.1
  - pip install -r requirements/base.txt
  - pip install -r requirements/test.txt
  - pip install coveralls
script:
   - python -Wall -m coverage run --omit='setup.py' --source=. tests/manage.py test core --settings=
   - isort --check-only
after_success:
  - coveralls
matrix:
  allow_failures:
    - env: DJANGO="https://github.com/django/django/archive/master.tar.gz"

dist: xenial
language: python
cache: pip
services:
  - postgresql
python:
  - "3.5"
  - "3.6"
  - "3.7"
env:
  global:
    - IMPORT_EXPORT_POSTGRESQL_USER=postgres
  matrix:
    - DJANGO="Django>=2.0,<2.1" IMPORT_EXPORT_TEST_TYPE=postgres
    - DJANGO="Django>=2.0,<2.1" IMPORT_EXPORT_TEST_TYPE=sqlite
    - DJANGO="Django>=2.1,<2.2" IMPORT_EXPORT_TEST_TYPE=postgres
    - DJANGO="Django>=2.1,<2.2" IMPORT_EXPORT_TEST_TYPE=sqlite
    - DJANGO="https://github.com/django/django/archive/master.tar.gz" IMPORT_EXPORT_TEST_TYPE=postgres
    - DJANGO="https://github.com/django/django/archive/master.tar.gz" IMPORT_EXPORT_TEST_TYPE=sqlite
install:
  - pip install -q $DJANGO
  - pip install tablib==0.12.1
  - pip install -r requirements/base.txt
  - pip install -r requirements/test.txt
  - pip install coveralls
script:
   - python -Wall -m coverage run --omit='setup.py' --source=. tests/manage.py test core --settings=
   - isort --check-only
after_success:
  - coveralls
matrix:
  allow_failures:
    - env: DJANGO="https://github.com/django/django/archive/master.tar.gz"

Add django version to the matrix
Add django version to the matrix
