summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlexandre Gramfort <alexandre.gramfort@m4x.org>2020-04-21 11:00:24 +0200
committerAlexandre Gramfort <alexandre.gramfort@m4x.org>2020-04-21 11:00:24 +0200
commit8c6a976c9d1225e469e22f7ef1c700eaf1e08dd7 (patch)
tree9b2ad24f7646528dc4ac192d674abca006a4f08d /.travis.yml
parentf141b7ecec8f69db29fb3dcf1efd1d00d96db87d (diff)
try codecov setup
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b9cc88f..3f63867 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,7 +34,7 @@ before_install:
install:
- pip install -r requirements.txt
- pip install -U "numpy>=1.14" scipy # for numpy array formatting in doctests
- - pip install flake8 pytest "pytest-cov<2.6"
+ - pip install flake8 pytest "pytest-cov<2.6" codecov
- pip install -U "sklearn"
- pip install .
# command to run tests + check syntax style
@@ -45,3 +45,6 @@ script:
- flake8 examples/ ot/ test/
- python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot
# - py.test ot test
+after_script:
+ # Need to run from source dir to execute "git" commands
+ - codecov;