diff mbox series

[v2,8/8] travis: pass proper path to make distcheck

Message ID 1498734013-20982-9-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v2,1/8] doc: add IMAGES_DIR instead of specifying full path to images | expand

Commit Message

Github ODP bot June 29, 2017, 11 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


On Travis CI gems are installed into user home directory. If make
distcheck is run under sudo, PATH will be reset and configure won't be
able to find asciidoctor. So let's pass full user's path  to make
distcheck.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 61 (lumag:docs-fix)
 ** https://github.com/Linaro/odp/pull/61
 ** Patch: https://github.com/Linaro/odp/pull/61.patch
 ** Base sha: 9b78da8e2373ab0530cfbbd72b2229059b57ddf1
 ** Merge commit sha: f6c89347fdd7243f9ed80e2c0356345f034696a9
 **/
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 2cc8caf7..11e32905 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -138,7 +138,7 @@  jobs:
                   script:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example
-                          - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make distcheck
+                          - sudo PATH="$PATH" LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make distcheck
                 - stage: test
                   env: TEST=doxygen
                   compiler: gcc