Permalink
Browse files

Improving TOX setup, including different combinations.

Testing CoTeDe with different combinations of dependencies.
  • Loading branch information...
castelao committed May 28, 2017
1 parent e7582d3 commit 5b06f2de1ef53925b98ee6a173ac069aed35c200
Showing with 11 additions and 5 deletions.
  1. +11 −5 tox.ini
16 tox.ini
@@ -1,16 +1,22 @@
[tox]
;envlist = py27, py35
envlist = py27
envlist = py{27,36}-numpy{11,12}-{with,without}gsw-{with,without}argo
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/cotede
USE_NCCONFIG = 0
commands = py.test -n 4 tests
commands =
pip install -U pip
py.test --basetemp={envtmpdir} -n 4 tests
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
pytest>=3.0
pytest-xdist>=1.15
py27-withgsw: gsw>=3.0,<3.1
py36-withgsw: gsw>=3.0
numpy11: numpy==1.11
numpy12: numpy==1.12
# -r{toxinidir}/test-requirements.txt
sitepackages = False

0 comments on commit 5b06f2d

Please sign in to comment.