Skip to content

Commit 97cc5fd

Browse files
author
Ralf Gommers
committed
TST: run test suite after installing via sdist.
This should catch issues like the one fixed in gh-83. ``python setup.py test`` should not be used, it's bad practice.
1 parent 18df9d1 commit 97cc5fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,10 @@ before_install:
1515
- pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
1616
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --trusted-host wheels.astropy.org --trusted-host wheels2.astropy.org --use-wheel nose numpy matplotlib ${SPHINX_SPEC}
1717
script:
18-
- python setup.py test
18+
- |
19+
python setup.py sdist
20+
# Move out of source directory to avoid finding local scipy
21+
pushd dist
22+
pip install scipy* -v
23+
popd
24+
- nosetests numpydoc

0 commit comments

Comments
 (0)