storj/scripts/travis-deps.sh
JT Olds 2ef8e581b2 fix travis, and get a clean lint (#32)
* fix travis

* lint fixes

* travis: enable tests

* fix some tests, disable a broken eestream test for now
2018-05-08 18:02:01 -04:00

14 lines
369 B
Bash

set -x
mkdir -p $HOME/gopath-staging
cd $HOME/gopath-staging
git clone --depth=1 --recursive --shallow-submodules https://github.com/storj/storj-vendor.git .
mkdir -p src/storj.io
mv $HOME/gopath/src/github.com/storj/storj src/storj.io
rm -rf $HOME/gopath
mv $HOME/gopath{-staging,}
export TRAVIS_BUILD_DIR=$HOME/gopath/src/storj.io/storj
cd $TRAVIS_BUILD_DIR
set +x