Skip to content

Commit

Permalink
TST: Fix Travis-CI builds. (Numpy version mismatch).
Browse files Browse the repository at this point in the history
Pre-Install numpy,astropy for tox tests, to avoid weird Travis issue.

Was seeing 'Numpy version build mismatch' errors, cf
astropy/astropy#6133

Pre-installing numpy mostly works, but it seems we need to
pre-install astropy as well before Sphinx is happy.

DO YOU DO VOODOO LIKE I DO?
https://en.wikipedia.org/wiki/Voodoo_programming
  • Loading branch information
timstaley committed Jun 7, 2017
1 parent eba6fae commit 7e64352
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ commands = py.test {posargs:-sv}
deps =
pytest
coverage
numpy

# Run coverage for py27, py35 targets:

Expand All @@ -35,6 +36,8 @@ basepython = python2
whitelist_externals =
pandoc
deps=
astropy
numpy
sphinx
commands=
pip install -r documentation/requirements.txt
Expand Down

0 comments on commit 7e64352

Please sign in to comment.