diff options
author | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-09-19 23:23:23 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-09-21 15:48:49 +0300 |
commit | cbb7f52e28d2e1c20c8eac662aa6135242d072e8 (patch) | |
tree | 2ea18a508837b1c264264b7c3ec4e38f99c4ca4b | |
parent | 49093654e6faa652387bc192c17b5006af0fc0b4 (diff) |
travis: cache doxygen
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 21fa9e3ba..a9ae219dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,7 @@ cache: - dpdk - netmap - $HOME/cunit-install + - $HOME/doxygen-install env: - CONF="" @@ -237,13 +238,17 @@ jobs: install: - true script: - - wget https://github.com/doxygen/doxygen/archive/Release_1_8_13.tar.gz - - tar xpvf Release_1_8_13.tar.gz - - pushd doxygen-Release_1_8_13 - - cmake -DCMAKE_INSTALL_PREFIX=/usr . - - sudo make install - - popd + - | + if [ ! -f "$HOME/doxygen-install/bin/doxygen" ]; then + wget https://github.com/doxygen/doxygen/archive/Release_1_8_13.tar.gz + tar xpvf Release_1_8_13.tar.gz + pushd doxygen-Release_1_8_13 + cmake -DCMAKE_INSTALL_PREFIX=$HOME/doxygen-install . + make install + popd + fi + - export PATH=$HOME/doxygen-install/bin:$PATH # doxygen does not trap on warnings, check for them here. - ./bootstrap - ./configure |