language: python
python:
    - "2.7"
    - "3.3"
    - "3.4"
    - "3.5"
env:
    - DJANGO_VERSION=1.8.17
    - DJANGO_VERSION=1.9.12
    - DJANGO_VERSION=1.10.0
    - DJANGO_VERSION=1.10.1
    - DJANGO_VERSION=1.10.2
    - DJANGO_VERSION=1.10.3
    - DJANGO_VERSION=1.10.4
    - DJANGO_VERSION=1.10.5
branches:
    except:
        - media
install:
    - pip install -q django==$DJANGO_VERSION
    - pip install -q -e .
    - pip install -q selenium
    - pip install -q coveralls
script:
    - coverage run --source publications_bootstrap --omit publications_bootstrap/six.py publications_bootstrap/tests/__main__.py
after_success:
    - coveralls

language: python
python:
    - "2.7"
    - "3.3"
    - "3.4"
    - "3.5"
env:
    - DJANGO_VERSION=1.8.17
    - DJANGO_VERSION=1.9.12
    - DJANGO_VERSION=1.10.0
    - DJANGO_VERSION=1.10.1
    - DJANGO_VERSION=1.10.2
    - DJANGO_VERSION=1.10.3
    - DJANGO_VERSION=1.10.4
    - DJANGO_VERSION=1.10.5
# https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django
matrix:
  exclude:
    - env: DJANGO_VERSION=1.9.12
      python: 3.3
    - env: DJANGO_VERSION=1.10.0
      python: 3.3
    - env: DJANGO_VERSION=1.10.1
      python: 3.3
    - env: DJANGO_VERSION=1.10.2
      python: 3.3
    - env: DJANGO_VERSION=1.10.3
      python: 3.3
    - env: DJANGO_VERSION=1.10.4
      python: 3.3
    - env: DJANGO_VERSION=1.10.5
      python: 3.3
branches:
    except:
        - media
install:
    - pip install -q django==$DJANGO_VERSION
    - pip install -q -e .
    - pip install -q selenium
    - pip install -q coveralls
script:
    - coverage run --source publications_bootstrap --omit publications_bootstrap/six.py publications_bootstrap/tests/__main__.py
after_success:
    - coveralls

Exclude incompatible python and django versions from CI
Exclude incompatible python and django versions from CI
