diff options
author | Matthew Brett <matthew.brett@gmail.com> | 2014-05-03 14:58:38 -0700 |
---|---|---|
committer | Matthew Brett <matthew.brett@gmail.com> | 2014-05-04 13:47:03 -0700 |
commit | 0beb47f52b359ac90d81ec3f932f39a6f85bf8e8 (patch) | |
tree | 382aca1f4146d39130441b278d47aa9f3800f758 | |
parent | 99cbdbacc23041392aac3f8cc60916d603ee9b1c (diff) | |
download | numpy-0beb47f52b359ac90d81ec3f932f39a6f85bf8e8.tar.gz |
TST: add travis test for wheel build and install
Add travis build that builds and installs wheel, runs tests from
installed wheel.
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | tools/travis-test.sh | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 944818428..deabf611e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,8 @@ matrix: env: NPY_RELAXED_STRIDES_CHECKING=1 - python: 2.7 env: USE_BENTO=1 + - python: 2.7 + env: USE_WHEEL=1 before_install: - uname -a - free -m diff --git a/tools/travis-test.sh b/tools/travis-test.sh index df9dedeca..fb17a3faa 100755 --- a/tools/travis-test.sh +++ b/tools/travis-test.sh @@ -110,7 +110,13 @@ fi export PYTHON export PIP -if [ "$USE_CHROOT" != "1" ] && [ "$USE_BENTO" != "1" ]; then +if [ -n "$USE_WHEEL" ] && [ $# -eq 0 ]; then + $PIP install --upgrade pip + $PIP install wheel + $PYTHON setup.py bdist_wheel + $PIP install --pre --upgrade --find-links dist numpy + run_test +elif [ "$USE_CHROOT" != "1" ] && [ "$USE_BENTO" != "1" ]; then setup_base run_test elif [ -n "$USE_CHROOT" ] && [ $# -eq 0 ]; then |