Use new Doxygen archive URL - fixes Travis

This commit is contained in:
Boris Staletic 2019-01-03 12:01:34 +01:00 committed by Wenzel Jakob
parent e2b884c33b
commit f4b4e2e957
1 changed files with 5 additions and 4 deletions

View File

@ -10,16 +10,17 @@ matrix:
# - Makes sure that everything still works without optional deps (numpy/scipy/eigen) and # - Makes sure that everything still works without optional deps (numpy/scipy/eigen) and
# also tests the automatic discovery functions in CMake (Python version, C++ standard). # also tests the automatic discovery functions in CMake (Python version, C++ standard).
- os: linux - os: linux
dist: xenial # Necessary to run doxygen 1.8.15
env: STYLE DOCS PIP env: STYLE DOCS PIP
cache: false cache: false
before_install: before_install:
- pyenv global $(pyenv whence 2to3) # activate all python versions - pyenv global $(pyenv whence 2to3) # activate all python versions
- PY_CMD=python3 - PY_CMD=python3
- $PY_CMD -m pip install --user --upgrade pip wheel - $PY_CMD -m pip install --user --upgrade pip wheel setuptools
install: install:
- $PY_CMD -m pip install --user --upgrade sphinx sphinx_rtd_theme breathe flake8 pep8-naming pytest - $PY_CMD -m pip install --user --upgrade sphinx sphinx_rtd_theme breathe flake8 pep8-naming pytest
- curl -fsSL ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.12.linux.bin.tar.gz | tar xz - curl -fsSL https://sourceforge.net/projects/doxygen/files/rel-1.8.15/doxygen-1.8.15.linux.bin.tar.gz/download | tar xz
- export PATH="$PWD/doxygen-1.8.12/bin:$PATH" - export PATH="$PWD/doxygen-1.8.15/bin:$PATH"
script: script:
- tools/check-style.sh - tools/check-style.sh
- flake8 - flake8
@ -32,7 +33,7 @@ matrix:
diff -rq $installed ./include/pybind11 diff -rq $installed ./include/pybind11
- | - |
# Barebones build # Barebones build
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD)
make pytest -j 2 make pytest -j 2
make cpptest -j 2 make cpptest -j 2
# The following are regular test configurations, including optional dependencies. # The following are regular test configurations, including optional dependencies.