diff options
author | Pierre Glaser <pierreglaser@msn.com> | 2018-10-05 14:37:00 +0200 |
---|---|---|
committer | Pierre Glaser <pierreglaser@msn.com> | 2018-10-05 14:37:00 +0200 |
commit | 63a4ff0697c9f251c8c9e6eb405df50544502529 (patch) | |
tree | 71ab7afb521932228ff0ba747d8904a4dd8d186d /tools | |
parent | 5f3c0c2ba7f0c794a483c7e74722f95bdd3bb827 (diff) | |
download | numpy-63a4ff0697c9f251c8c9e6eb405df50544502529.tar.gz |
MNT add pickle5 to some python 3.6/7 setups for the CI suite
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/travis-before-install.sh | 5 | ||||
-rwxr-xr-x | tools/travis-test.sh | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tools/travis-before-install.sh b/tools/travis-before-install.sh index 1b8c370d3..c334e91ae 100755 --- a/tools/travis-before-install.sh +++ b/tools/travis-before-install.sh @@ -20,6 +20,11 @@ fi source venv/bin/activate python -V + +if [ -n "$INSTALL_PICKLE5" ]; then + pip install pickle5 +fi + pip install --upgrade pip setuptools pip install nose pytz cython pytest if [ -n "$USE_ASV" ]; then pip install asv; fi diff --git a/tools/travis-test.sh b/tools/travis-test.sh index 84a57b1de..2a16b37a3 100755 --- a/tools/travis-test.sh +++ b/tools/travis-test.sh @@ -193,6 +193,11 @@ if [ -n "$USE_WHEEL" ] && [ $# -eq 0 ]; then pushd dist pip install --pre --no-index --upgrade --find-links=. numpy pip install nose pytest + + if [ -n "$INSTALL_PICKLE5" ]; then + pip install pickle5 + fi + popd run_test elif [ -n "$USE_SDIST" ] && [ $# -eq 0 ]; then @@ -212,6 +217,10 @@ elif [ -n "$USE_SDIST" ] && [ $# -eq 0 ]; then pushd dist pip install numpy* pip install nose pytest + if [ -n "$INSTALL_PICKLE5" ]; then + pip install pickle5 + fi + popd run_test elif [ -n "$USE_CHROOT" ] && [ $# -eq 0 ]; then |