From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@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.ereminsoleni...@linaro.org>
---
/** Email created from pull request 402 (lumag:travis-upd)
 ** https://github.com/Linaro/odp/pull/402
 ** Patch: https://github.com/Linaro/odp/pull/402.patch
 ** Base sha: 5a4502fc6bc53e6503169da3028f456b64811a0b
 ** Merge commit sha: bec38d48297ebf78da7d67c986b91604e4597080
 **/
 .travis.yml | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 39dbb5865..df942de59 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -156,18 +156,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
@@ -310,7 +298,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

Reply via email to