Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions requirements-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@ if [[ $USE_OPTIONAL != "true" && $USE_OPTIONAL != "false" ]]; then
exit 1
fi

pip install -r requirements-test.txt --use-mirrors
pip install -r requirements-test.txt

if [[ $USE_OPTIONAL == "true" && $TRAVIS_PYTHON_VERSION != "pypy" ]]; then
if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then
pip install -r requirements-optional-2.6.txt --use-mirrors
pip install --allow-external Genshi --allow-insecure Genshi -r requirements-optional-2.6.txt
else
pip install -r requirements-optional-cpython.txt --use-mirrors
pip install --allow-external Genshi --allow-insecure Genshi -r requirements-optional-cpython.txt
fi
fi

if [[ $FLAKE == "true" ]]; then
pip install --use-mirrors flake8
fi
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ deps =
commands =
{envbindir}/nosetests -q
{toxinidir}/flake8-run.sh
install_command =
pip install --allow-external Genshi --allow-insecure Genshi {opts} {packages}

[testenv:pypy]
# lxml doesn't work and datrie doesn't make sense
Expand Down