diff mbox series

[API-NEXT,v2,4/6] travis: move Doxygen compilation to before_install

Message ID 1509703209-5390-5-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v2,1/6] drv: doc, linux-gen, include: drop incomplete drv interface | expand

Commit Message

Github ODP bot Nov. 3, 2017, 10 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


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

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>

---
/** 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 mbox series

Patch

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.