Skip to content

Commit 5fcd461

Browse files
authored
Merge branch 'master' into master
2 parents 1e61483 + ec674a9 commit 5fcd461

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
- SIX_VERSION=1.9 USE_OPTIONAL=true
2020

2121
install:
22-
- bash requirements-install.sh
22+
- ./requirements-install.sh
2323

2424
script:
2525
- if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then py.test; fi

requirements-install.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
#!/bin/bash -e
1+
#!/bin/bash -ex
22

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

85
pip install -U -r requirements-test.txt
96

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

14-
if [[ $SIX_VERSION != "false" ]]; then
11+
if [[ $SIX_VERSION ]]; then
1512
pip install six==$SIX_VERSION
1613
fi
1714

0 commit comments

Comments
 (0)