diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 50ff22c..5e5694b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,11 +26,12 @@ before_script: # configure a headless display to test plot generation # command to install dependencies install: - pip install -r requirements.txt + - pip install -U "numpy>=1.14" "scipy<1.3" # for numpy array formatting in doctests + scipy version: otherwise, pymanopt fails, cf <https://github.com/pymanopt/pymanopt/issues/77> - pip install flake8 pytest "pytest-cov<2.6" - pip install . # command to run tests + check syntax style script: - python setup.py develop - flake8 examples/ ot/ test/ - - python -m pytest -v test/ --cov=ot + - python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot # - py.test ot test |