language: python

script:
  - tox

addons:
  apt:
    packages:
      - slapd
      - ldap-utils

install:
  - pip install tox

matrix:
  include:
    - python: "2.7"
      env: TOXENV=py27-django111
    - python: "3.4"
      env: TOXENV=py34-django111
    - python: "3.5"
      env: TOXENV=py35-django111
    - python: "3.6"
      env: TOXENV=py36-django111
    - python: "3.4"
      env: TOXENV=py34-django20
    - python: "3.5"
      env: TOXENV=py35-django20
    - python: "3.6"
      env: TOXENV=py36-django20
    - python: "3.5"
      env: TOXENV=py35-django21
    - python: "3.6"
      env: TOXENV=py36-django21

    # Linting
    - python: "3.6"
      env: TOXENV=lint

notifications:
  email: false
  irc: "irc.freenode.org#xelnext"

language: python

script:
  - tox

addons:
  apt:
    packages:
      - slapd
      - ldap-utils

install:
  - pip install tox

matrix:
  include:
    - python: "2.7"
      env: TOXENV=py27-django111
    - python: "3.4"
      env: TOXENV=py34-django111
    - python: "3.5"
      env: TOXENV=py35-django111
    - python: "3.6"
      env: TOXENV=py36-django111
    - python: "3.4"
      env: TOXENV=py34-django20
    - python: "3.5"
      env: TOXENV=py35-django20
    - python: "3.6"
      env: TOXENV=py36-django20
    - python: "3.5"
      env: TOXENV=py35-django21
    - python: "3.6"
      env: TOXENV=py36-django21
    - python: "3.7"
      env: TOXENV=py36-django21
    - python: "3.5"
      env: TOXENV=py35-django22
    - python: "3.6"
      env: TOXENV=py36-django22
    - python: "3.7"
      env: TOXENV=py36-django22

    # Linting
    - python: "3.6"
      env: TOXENV=lint

notifications:
  email: false
  irc: "irc.freenode.org#xelnext"

Add Travis tests for Python 3.7 and for Django 2.2.
Add Travis tests for Python 3.7 and for Django 2.2.
