From 0bc451f75b99a1bb10f9fefcb9ea0df7d5e3b708 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Thu, 24 Jan 2013 10:17:46 +0100 Subject: [PATCH] Install importlib on Travis' py26 environment. --- .travis.yml | 3 ++- py26-requirements.txt | 3 +++ requirements.txt | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 py26-requirements.txt diff --git a/.travis.yml b/.travis.yml index d97a8754..e51ca340 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,8 @@ python: - "2.7" - "pypy" install: + - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install -r py26-requirements.txt; fi - pip install -r requirements.txt - - pip install pytest + #- pip install pytest # installed by Travis by default already script: - py.test diff --git a/py26-requirements.txt b/py26-requirements.txt new file mode 100644 index 00000000..222f989c --- /dev/null +++ b/py26-requirements.txt @@ -0,0 +1,3 @@ +unittest2 +importlib +argparse diff --git a/requirements.txt b/requirements.txt index be09e74a..828827ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ redis times -argparse