From 0f66c6df6da33b1a0799018d34d9dd0f18e9c0d0 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 7 Aug 2013 12:18:02 -0700 Subject: Move all tests to be controlled by tox --- .travis.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 08fa5d04..fe46c7d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,15 @@ language: python -python: - - 2.6 - - 2.7 - - 3.2 - - 3.3 +python: 2.7 +env: + - TOX_ENV=py26 + - TOX_ENV=py27 + - TOX_ENV=py32 + - TOX_ENV=py33 + - TOX_ENV=docs + - TOX_ENV=pep8 + install: - - pip install pytest flake8 sphinx + - pip install tox + script: - - py.test - - "flake8 . --ignore='E128'" - - sphinx-build -W -bhtml docs/ docs/_build/html/ + - tox -e $TOX_ENV -- cgit v1.2.3