Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
- SIX_VERSION=1.9 USE_OPTIONAL=true

install:
- bash requirements-install.sh
- ./requirements-install.sh

script:
- if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then py.test; fi
Expand Down
9 changes: 3 additions & 6 deletions requirements-install.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
#!/bin/bash -e
#!/bin/bash -ex

if [[ $USE_OPTIONAL != "true" && $USE_OPTIONAL != "false" ]]; then
echo "fatal: \$USE_OPTIONAL not set to true or false. Exiting."
exit 1
fi
pip install pip==6.1.0

pip install -U -r requirements-test.txt

if [[ $USE_OPTIONAL == "true" ]]; then
pip install -U -r requirements-optional.txt
fi

if [[ $SIX_VERSION != "false" ]]; then
if [[ $SIX_VERSION ]]; then
pip install six==$SIX_VERSION
fi

Expand Down