From 50a45fdb12b306b2e4e7d6235d7f470fded95736 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 2 Nov 2018 13:42:26 +0100 Subject: [PATCH] travis: Filter out Travis-related envvars This is causing us to attempt to have a home directory in /home/travis instead of the user's real homedir. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e1dcf13fd..3ff360d33 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ env: # Trusty (aka 14.04) is way way too old, so run in docker... script: - docker pull cdecker/lightning-ci:${ARCH}bit | tee - - env | grep -E '^[A-Z_]+\=' | tee /tmp/envlist + - env | grep -E '^[A-Z_]+\=' | grep -vi travis | tee /tmp/envlist - echo SLOW_MACHINE=1 >> /tmp/envlist - docker run --rm=true --env-file=/tmp/envlist -v "${TRAVIS_BUILD_DIR}":/build -t cdecker/lightning-ci:${ARCH}bit ./configure CC=${COMPILER:-gcc} - $SOURCE_CHECK_ONLY || docker run --rm=true --env-file=/tmp/envlist -v "${TRAVIS_BUILD_DIR}":/build -t cdecker/lightning-ci:${ARCH}bit make -j3