update travis to build with fork

This commit is contained in:
jgsqware 2016-06-07 10:26:07 +02:00
parent d9d5b058e5
commit 72c8c347e6

View File

@ -9,6 +9,9 @@ sudo: false
before_install:
- export GO15VENDOREXPERIMENT=1
- RepoName=`basename $PWD`; SrcDir=`dirname $PWD`; DestDir="`dirname $SrcDir`/coreos"
- if [[ "$SrcDir" != "$DestDir" ]]; then mv "$SrcDir" "$DestDir"; cd ../../coreos/$RepoName; export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$RepoName; fi
install:
- echo 'nop'