Skip to content

Install doxygen 1.8.14 on travis #2274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why wasn't cmake installed before?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we didn't compile doxygen from scratch (takes ~1min). That's not ideal, of course. Alternatively, we could put a static binary somewhere and download it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes - sorry I was thinking we needed cmake to build CBMC, but on most platforms we use make

- 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