Skip to content

Commit

Permalink
Separate test requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulgovind committed Mar 5, 2018
1 parent 9fdcfc2 commit 6e43f51
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -22,7 +22,7 @@ install:
- edm install -y numpy cython pytest mock h5py

# Install pysph related dependencies.
- edm run -- pip install -r requirements.txt
- edm run -- pip install -r requirements.txt -r requirements-test.txt

# Build pysph.
- edm run -- python setup.py develop
Expand Down
3 changes: 3 additions & 0 deletions requirements-test.txt
@@ -0,0 +1,3 @@
pytest>=3.0
mock>=1.0
numpy-stl
4 changes: 1 addition & 3 deletions requirements.txt
Expand Up @@ -2,6 +2,4 @@ numpy
setuptools>=6.0
Cython>=0.20,<0.27
mako
pytest>=3.0
mock>=1.0
numpy-stl

6 changes: 3 additions & 3 deletions tox.ini
Expand Up @@ -13,9 +13,9 @@ changedir = {toxworkdir}
passenv = CC CXX ZOLTAN* USE_TRILINOS USE_OPENMP
deps =
py26: -rrequirements-2.6.txt
py27: -rrequirements.txt
py34: -rrequirements.txt
py35: -rrequirements.txt
py27: -rrequirements.txt -rrequirements-test.txt
py34: -rrequirements.txt -rrequirements-test.txt
py35: -rrequirements.txt -rrequirements-test.txt
commands = python -m pytest -v \
--junit-xml=pytest-{envname}.xml \
{posargs} \
Expand Down

0 comments on commit 6e43f51

Please sign in to comment.