From 72c8c347e69896a41a8276d72c0ad93f8614876e Mon Sep 17 00:00:00 2001 From: jgsqware Date: Tue, 7 Jun 2016 10:26:07 +0200 Subject: [PATCH] update travis to build with fork --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index f0d41198..8bac1448 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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'