[tox]
envlist=
  py27
  py33
  py34
  py35

[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps=
  coverage
  pytest >= 2.4
  pytest-cov
  coveralls
  httpretty
  mock
changedir=tests
commands=
  py.test \
    --cov datapackage \
    --cov-report term-missing \
    --cov-config .coveragerc \
    {posargs}
  python {toxinidir}/run_coveralls.py

[tox]
envlist=
  py27
  py33
  py34
  py35

[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps=
  coverage
  pytest >= 2.4
  pytest-cov
  coveralls
  httpretty == 0.8.10
  mock
changedir=tests
commands=
  py.test \
    --cov datapackage \
    --cov-report term-missing \
    --cov-config .coveragerc \
    {posargs}
  python {toxinidir}/run_coveralls.py

Fix httpretty version at 0.8.10
Fix httpretty version at 0.8.10

httpretty doesn't officially support Py3 (according to its docs), and versions
0.8.11 and 0.8.12 broke compatibility. While they don't guarantee py3 support,
we're better off using a version known to be OK.
