Skip to content

Commit f4b4e2e

Browse files
bstaleticwjakob
authored andcommitted
Use new Doxygen archive URL - fixes Travis
1 parent e2b884c commit f4b4e2e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@ matrix:
1010
# - Makes sure that everything still works without optional deps (numpy/scipy/eigen) and
1111
# also tests the automatic discovery functions in CMake (Python version, C++ standard).
1212
- os: linux
13+
dist: xenial # Necessary to run doxygen 1.8.15
1314
env: STYLE DOCS PIP
1415
cache: false
1516
before_install:
1617
- pyenv global $(pyenv whence 2to3) # activate all python versions
1718
- PY_CMD=python3
18-
- $PY_CMD -m pip install --user --upgrade pip wheel
19+
- $PY_CMD -m pip install --user --upgrade pip wheel setuptools
1920
install:
2021
- $PY_CMD -m pip install --user --upgrade sphinx sphinx_rtd_theme breathe flake8 pep8-naming pytest
21-
- curl -fsSL ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.12.linux.bin.tar.gz | tar xz
22-
- export PATH="$PWD/doxygen-1.8.12/bin:$PATH"
22+
- curl -fsSL https://sourceforge.net/projects/doxygen/files/rel-1.8.15/doxygen-1.8.15.linux.bin.tar.gz/download | tar xz
23+
- export PATH="$PWD/doxygen-1.8.15/bin:$PATH"
2324
script:
2425
- tools/check-style.sh
2526
- flake8
@@ -32,7 +33,7 @@ matrix:
3233
diff -rq $installed ./include/pybind11
3334
- |
3435
# Barebones build
35-
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON
36+
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD)
3637
make pytest -j 2
3738
make cpptest -j 2
3839
# The following are regular test configurations, including optional dependencies.

0 commit comments

Comments
 (0)