language: python

sudo: false

matrix:
  include:
    - python: 3.6.0
      env: TOXENV=py36
    - python: 3.5.0
      env: TOXENV=py35
    - python: 3.4
      env: TOXENV=py34
    - python: 2.7
      env: TOXENV=py27

install:
  - pip install -U tox

script:
  - tox

before_install:
  - pip install -e .
  - pip install pytest-cov codecov -r tests/requirements.txt

after_success:
  - py.test tests/ --cov=./
  - codecov
language: python

sudo: false

matrix:
  include:
    - python: 3.6.0
      env: TOXENV=py36
    - python: 3.5.0
      env: TOXENV=py35
    - python: 3.4
      env: TOXENV=py34
    - python: 2.7
      env: TOXENV=py27

install:
  - pip install -U setuptools tox
  - pip install -e .
  - pip install pytest-cov codecov -r tests/requirements.txt

script:
  - tox

after_success:
  - py.test tests/ --cov=./
  - codecov

Upgrade setuptools before running tests on Travis.
Upgrade setuptools before running tests on Travis.

Fixes an issue with outdated setuptools version when running the tests
with Python 3.5 on Travis.
