From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>

Move Doxygen compilation to before_install to make it available to make
distcheck.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>
---
/** Email created from pull request 272 (muvarov:api-next_removedrv)
 ** https://github.com/Linaro/odp/pull/272
 ** Patch: https://github.com/Linaro/odp/pull/272.patch
 ** Base sha: d22c949cc466bf28de559855a1cb525740578137
 ** Merge commit sha: 0c1789481c8b7bca6dd96983992505b5132be3ab
 **/
 .travis.yml | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 7632ae3fe..6bd03a0c1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -138,6 +138,19 @@ 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
         - sudo mkdir -p /mnt/huge
@@ -249,17 +262,6 @@ jobs:
                   install:
                           - true
                   script:
-                          - |
-                            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
                           - ./bootstrap
                           - ./configure
                           # doxygen does not trap on warnings, check for them 
here.

Reply via email to