Skip to content

Commit fd053d4

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 fd053d4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ 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+
cd dist
21+
pip install numpydoc* -v
22+
- nosetests numpydoc

0 commit comments

Comments
 (0)