diff mbox series

[v1,3/5] travis: compile doxygen only for doxygen test

Message ID 1516485606-24768-4-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v1,1/5] travis: stop early when installation of cross-packages has failed | expand

Commit Message

Github ODP bot Jan. 20, 2018, 10 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


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>

---
/** Email created from pull request 412 (lumag:travis-upd)
 ** https://github.com/Linaro/odp/pull/412
 ** Patch: https://github.com/Linaro/odp/pull/412.patch
 ** Base sha: 5a4502fc6bc53e6503169da3028f456b64811a0b
 ** Merge commit sha: 3d2664767caeeb88129c63135b083e5a0b25a3a3
 **/
 .travis.yml | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 2a253e321..b34f3aa2d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -159,18 +159,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
@@ -313,7 +301,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