From 8046bc3b83f82038c2ff3ccd2e57fd5b778a3162 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sun, 8 Dec 2013 22:13:43 -0500 Subject: Take 3. --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 74c2171..805698e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,12 +4,9 @@ python: - "2.6" - "2.7" - "3.3" -env: - - REQUIREMENTS="" - - REQUIREMENTS="unittest2" install: - - pip install $REQUIREMENTS - python setup.py -q install script: + - if [[ "$(python -c 'import sys; print sys.version_info[:2]')" == "(2, 6)" ]]; then pip install unittest2; fi - py.test --tb=native jsonschema - python -m doctest README.rst -- cgit v1.2.1