diff --git a/.travis.yml b/.travis.yml index 3af3fb8af..635126ff2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: go go: - master -install: - - export GOPATH="${HOME}/gopath/" - - export TRAVIS_BUILD_DIR="${GOPATH}/src/harmony-benchmark" \ No newline at end of file +install: | + export GOPATH=$HOME/gopath + mkdir -p $HOME/gopath/src/harmony-benchmark + rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/harmony-benchmark/ + export TRAVIS_BUILD_DIR=$HOME/gopath/src/harmony-benchmark + cd $HOME/gopath/src/harmony-benchmark \ No newline at end of file