From 1f6c9720072473199e51ab48ed93255ee2b104ad Mon Sep 17 00:00:00 2001 From: sugarme Date: Tue, 13 Oct 2020 17:23:11 +1100 Subject: [PATCH] fixed travis env --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9eced19..44f3092 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ dist: bionic before_install: - ls -la - sudo apt-get install clang-tools-9 - - GOTCH=${HOME}/sugarme/gotch + - export GOTCH=$TRAVIS_BUILD_DIR - export LIBTORCH_VERSION=${LIBTORCH_VER:-1.5.1} - export LIBTORCH=${GOTCH}/libtch/libtorch - export LIBRARY_PATH=${LIBTORCH}/lib @@ -35,7 +35,7 @@ before_install: - go install script: - printenv - - GOTCH=${HOME}/sugarme/gotch + - export GOTCH=$TRAVIS_BUILD_DIR - export LIBTORCH_VERSION=${LIBTORCH_VER:-1.5.1} - export LIBTORCH=${GOTCH}/libtch/libtorch - export LIBRARY_PATH=${LIBTORCH}/lib