From: Ilya Shipitsin <chipits...@gmail.com>

v2, rebased to master

---
 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index c00725d8..530d1682 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,7 @@ env:
     - FLAGS="USE_ZLIB=1 USE_PCRE=1 USE_LUA=1 USE_OPENSSL=1"
     - SSL_LIB=${HOME}/opt/lib
     - SSL_INC=${HOME}/opt/include
+    - TMPDIR=/tmp
 
 addons:
   apt:
@@ -67,11 +68,11 @@ script:
   - ./haproxy -vv
   - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ldd haproxy; fi
   - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then otool -L haproxy; fi
-  - env TMPDIR=/tmp VTEST_PROGRAM=../vtest/vtest make reg-tests
+  - env VTEST_PROGRAM=../vtest/vtest make reg-tests
 
 after_failure:
   - |
-    for folder in ${TMPDIR:-/tmp}/*regtest*/vtc.*; do
+    for folder in ${TMPDIR}/*regtest*/vtc.*; do
       cat $folder/INFO
       cat $folder/LOG
     done
-- 
2.20.1


Reply via email to