From 85115d0319e09696dc223cfabb2004997c376c92 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Thu, 19 Sep 2019 17:08:46 +0200 Subject: [PATCH] Set the correct value of $HOME in the chroot --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 39b7e19052..7724aa3b82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ jobs: - sudo mount --bind /proc chrootdir/proc - sudo mount --bind /sys chrootdir/sys - sudo chroot chrootdir qemu-aarch64-static /bin/bash -c "export GOROOT=/usr/local/go; export PATH=\$PATH:\$GOROOT/bin; cd ${TRAVIS_BUILD_DIR} && go run build/ci.go install" - - sudo chroot chrootdir qemu-aarch64-static /bin/bash -c "export GOROOT=/usr/local/go; export PATH=\$PATH:\$GOROOT/bin; cd ${TRAVIS_BUILD_DIR} && go run build/ci.go test" + - HOME=/root sudo chroot chrootdir qemu-aarch64-static /bin/bash -c "export GOROOT=/usr/local/go; export PATH=\$PATH:\$GOROOT/bin; cd ${TRAVIS_BUILD_DIR} && go run build/ci.go test" - stage: build os: linux