File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -46,17 +46,35 @@ jobs:
4646 before_cache :
4747
4848 - stage : Linter + Doxygen + non-debug Ubuntu/gcc-5 test
49- env : NAME="DOXYGEN-CHECK"
49+ env :
50+ NAME : " DOXYGEN-CHECK"
51+ DOXYGEN_VERSION : " 1.8.14"
5052 addons :
5153 apt :
5254 sources :
5355 - sourceline : ' deb http://packages.cloud.google.com/apt cloud-sdk-trusty main'
5456 key_url : ' https://packages.cloud.google.com/apt/doc/apt-key.gpg'
5557 packages :
56- - doxygen
58+ - cmake
5759 - google-cloud-sdk
60+ cache :
61+ directories :
62+ - ${TRAVIS_BUILD_DIR}/doxygen/build/bin
5863 install :
59- script : scripts/travis_doxygen.sh
64+ - |
65+ # Build doxygen if it is not in Travis cache
66+ if ! [ -x doxygen/build/bin/doxygen ]
67+ then
68+ mkdir -p doxygen/build \
69+ && wget http://ftp.stack.nl/pub/users/dimitri/doxygen-${DOXYGEN_VERSION}.src.tar.gz -O- | tar -xz --strip-components=1 --directory doxygen \
70+ && ( cd doxygen/build && cmake .. ) \
71+ && make -j4 -C doxygen/build
72+ fi
73+ - export PATH="$PATH:${TRAVIS_BUILD_DIR}/doxygen/build/bin"
74+ script :
75+ - echo $PATH
76+ - doxygen --version
77+ - scripts/travis_doxygen.sh
6078 before_cache :
6179 after_success :
6280 # Google Cloud Integration
You can’t perform that action at this time.
0 commit comments