summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml3
-rwxr-xr-xsrc/python/doc/python3-sphinx-build.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 51bc26c3..1c490b69 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,7 +25,7 @@ matrix:
- CMAKE_EXAMPLE='OFF' CMAKE_TEST='OFF' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='OFF' MAKE_TARGET='doxygen' CTEST_COMMAND='echo No tests for doxygen target'
- env:
# 5. Only Python, associated tests and sphinx documentation
- - CMAKE_EXAMPLE='OFF' CMAKE_TEST='OFF' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='ON' MAKE_TARGET='all sphinx' CTEST_COMMAND='ctest --output-on-failure'
+ - CMAKE_EXAMPLE='OFF' CMAKE_TEST='OFF' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='ON' MAKE_TARGET='all' CTEST_COMMAND='ctest --output-on-failure'
cache:
directories:
@@ -56,6 +56,7 @@ install:
- python3 -m pip install --upgrade pip setuptools wheel
- python3 -m pip install --user pytest Cython sphinx sphinxcontrib-bibtex sphinx-paramlinks matplotlib numpy scipy scikit-learn
- python3 -m pip install --user POT
+ - which python3
script:
- rm -rf build
diff --git a/src/python/doc/python3-sphinx-build.py b/src/python/doc/python3-sphinx-build.py
index 84d158cf..a8eede8a 100755
--- a/src/python/doc/python3-sphinx-build.py
+++ b/src/python/doc/python3-sphinx-build.py
@@ -5,6 +5,8 @@ Emulate sphinx-build for python3
"""
from sys import exit, argv
+print(sys.executable)
+import sphinx
from sphinx import main
if __name__ == '__main__':