# Use travis container-based build system for speed
sudo: false

# Ubuntu trusty (14.04) - latest that Travis offers
dist: trusty

# Make sure all the python versions we need are pre-installed
# (apt-get is not available in the container-based build system)
addons:
  apt:
    sources:
    - deadsnakes
    packages:
    - python2.7
    - python3.5
    - python3.6

language: python

# The version of Python that'll be used to invoke tox. Has no effect
# on what version of Python tox uses to run each set of tests.
python:
  - "3.5"

# command to install dependencies
install:
  - "pip install tox"

# command to run tests
script: tox

# Test a sampling of combinations
env:
  - TOXENV=py27-18,py27-110,py27-111
  - TOXENV=py35-18,py35-110,py35-111
  - TOXENV=py36-18,py36-110,py36-111
  - TOXENV=py27-pep8,py36-pep8

# Use travis container-based build system for speed
sudo: false

# Ubuntu trusty (14.04) - latest that Travis offers
dist: trusty

# Make sure all the python versions we need are pre-installed
# (apt-get is not available in the container-based build system)
addons:
  apt:
    sources:
    - deadsnakes
    packages:
    - python2.7
    - python3.5
    - python3.6

language: python

# The version of Python that'll be used to invoke tox. Has no effect
# on what version of Python tox uses to run each set of tests.
python:
  - "3.5"

# command to install dependencies
install:
  - "pip install tox"

# command to run tests
script: tox

# Test a sampling of combinations
env:
  - TOXENV=py27-django18,py27-django110,py27-django111
  - TOXENV=py35-django18,py35-django110,py35-django111
  - TOXENV=py36-django18,py36-django110,py36-django111
  - TOXENV=py27-pep8,py36-pep8

Fix env names in tox.ini
Fix env names in tox.ini
