From fd053d46d346bba36f9f1f8ac2f0b317f5f7a3c3 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Wed, 28 Dec 2016 09:51:43 +1300 Subject: [PATCH 1/2] 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. --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3586b076..5e48d604 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,4 +15,8 @@ before_install: - pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support - 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} script: - - python setup.py test + - | + python setup.py sdist + cd dist + pip install numpydoc* -v + - nosetests numpydoc From dea552cec05dca446a6added583c116fbb483c7d Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Wed, 28 Dec 2016 10:06:57 +1300 Subject: [PATCH 2/2] TST: run tests on TravisCI with Python 3.6 instead of 3.5 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5e48d604..77a3ec98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: python sudo: false python: - - 3.5 + - 3.6 - 2.7 env: - SPHINX_SPEC="Sphinx==1.2.3"