summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRomain Tavenard <romain.tavenard@univ-rennes2.fr>2019-07-01 15:36:55 +0200
committerRomain Tavenard <romain.tavenard@univ-rennes2.fr>2019-07-01 15:36:55 +0200
commita08375c8dc7594e247e586fcc4d65a96771d25c7 (patch)
tree157149419ca58479a4aa8eb1412d14076925c226 /.travis.yml
parent64dba525bb5e0ac7952871df859df59fecf19a65 (diff)
Fixed all doctests assuming functions are working properly (actually tested in tests/)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 275109c..2c6a5c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,8 +26,9 @@ before_script: # configure a headless display to test plot generation
# command to install dependencies
install:
- pip install -r requirements.txt
- - pip install numpy>=1.14 # for numpy array formatting in doctests
- - pip install "scipy<1.3" # otherwise, pymanopt fails, cf <https://github.com/pymanopt/pymanopt/issues/77>
+ - pip install 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>
+ - python -c "import numpy; import scipy; print('numpy: ', numpy.__version__); print('scipy: ', scipy.__version__)"
- pip install flake8 pytest "pytest-cov<2.6"
- pip install .
# command to run tests + check syntax style