From 642200dce8b34cfcce6276d76952b9454155f8b3 Mon Sep 17 00:00:00 2001 From: Mathieu Agopian Date: Fri, 15 Nov 2013 08:50:20 +0100 Subject: [PATCH] travis uses tox --- .travis.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 175c890..3df5c8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,9 @@ language: python -python: - - "2.7" - - "3.3" +python: 2.7 +env: + - TOX_ENV=py27 + - TOX_ENV=py33 install: - - pip install --use-mirrors flake8 mock - - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install --use-mirrors unittest2py3k; fi - - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install --use-mirrors unittest2; fi - - pip install -e . + - pip install tox script: - - unit2 discover mailbot.tests - - flake8 mailbot + - tox -e $TOX_ENV