aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>2018-01-18 03:33:37 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-01-22 21:59:39 +0300
commit3f069804f73c39e3bf98a998bbccd169f6c948f7 (patch)
tree16ed3daf73acb35665500b99af3797a3ef2c21cb /.travis.yml
parent9836cf55fa6a5177f95fed5f10c01af0254303ce (diff)
travis: compile doxygen only for doxygen test
All other tests do not use doxygen. So let's compile doxygen only for doxygen test, saving few minutes. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml24
1 files changed, 11 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml
index f3603b180..a727eda7c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -160,18 +160,6 @@ before_install:
- export PKG_CONFIG_PATH="$HOME/cunit-install/$CROSS_ARCH/lib/pkgconfig:${PKG_CONFIG_PATH}"
- find $HOME/cunit-install
- # Updated Doxygen
- - |
- 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
-
install:
- echo 1000 | sudo tee /proc/sys/vm/nr_hugepages
@@ -314,7 +302,17 @@ jobs:
env: TEST=doxygen
compiler: gcc
install:
- - true
+ # Updated Doxygen
+ - |
+ 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
script:
- ./bootstrap
- ./configure