dd2fbb5069
* don't require shallow clones of old commits doesn't look like github allows it. hints here: https://stackoverflow.com/questions/31278902/how-to-shallow-clone-a-specific-commit-with-depth-1 * don't try to update submodules
15 lines
349 B
Bash
15 lines
349 B
Bash
set -x
|
|
|
|
mkdir -p $HOME/gopath-staging
|
|
cd $HOME/gopath-staging
|
|
git clone --recursive https://github.com/storj/storj-vendor.git .
|
|
./setup.sh
|
|
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
|