Skip to content

Commit

Permalink
Merge pull request diffblue#2274 from peterschrammel/travis-new-doxygen
Browse files Browse the repository at this point in the history
Install doxygen 1.8.14 on travis
  • Loading branch information
peterschrammel authored Jun 6, 2018
2 parents c6cfb02 + 63c5a32 commit 2bea6fc
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,35 @@ jobs:
before_cache:

- stage: Linter + Doxygen + non-debug Ubuntu/gcc-5 test
env: NAME="DOXYGEN-CHECK"
env:
NAME: "DOXYGEN-CHECK"
DOXYGEN_VERSION: "1.8.14"
addons:
apt:
sources:
- sourceline: 'deb http://packages.cloud.google.com/apt cloud-sdk-trusty main'
key_url: 'https://packages.cloud.google.com/apt/doc/apt-key.gpg'
packages:
- doxygen
- cmake
- google-cloud-sdk
cache:
directories:
- ${TRAVIS_BUILD_DIR}/doxygen/build/bin
install:
script: scripts/travis_doxygen.sh
- |
# Build doxygen if it is not in Travis cache
if ! [ -x doxygen/build/bin/doxygen ]
then
mkdir -p doxygen/build \
&& wget http://ftp.stack.nl/pub/users/dimitri/doxygen-${DOXYGEN_VERSION}.src.tar.gz -O- | tar -xz --strip-components=1 --directory doxygen \
&& ( cd doxygen/build && cmake .. ) \
&& make -j4 -C doxygen/build
fi
- export PATH="$PATH:${TRAVIS_BUILD_DIR}/doxygen/build/bin"
script:
- echo $PATH
- doxygen --version
- scripts/travis_doxygen.sh
before_cache:
after_success:
# Google Cloud Integration
Expand Down

0 comments on commit 2bea6fc

Please sign in to comment.