From 243766aaec6a542bd91d4bded5aaa123684e26bb Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Wed, 8 Apr 2015 16:23:52 -0400 Subject: [PATCH] Set git config in script/cibuild --- .travis.yml | 2 +- script/cibuild | 4 ++++ script/test | 3 --- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2f53fb370d..7f65e5bf43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ # http://docs.travis-ci.com/user/languages/go/ language: go -script: script/test +script: script/cibuild sudo: required notifications: email: false diff --git a/script/cibuild b/script/cibuild index 7efe2f9c5f..2a2bd786f7 100755 --- a/script/cibuild +++ b/script/cibuild @@ -1,2 +1,6 @@ #!/bin/sh + +git config user.name || git config --global user.name "Git LFS Tests" +git config user.email || git config --global user.email "git-lfs@example.com" + script/test diff --git a/script/test b/script/test index 723d4e6de9..8fc18397b0 100755 --- a/script/test +++ b/script/test @@ -5,9 +5,6 @@ script/fmt script/bootstrap -git config user.name || git config --global user.name "Git LFS Tests" -git config user.email || git config --global user.email "git-lfs@example.com" - export LOCALSRCDIR=`pwd`/.vendor/src/github.com/github/git-lfs mkdir -p `dirname $LOCALSRCDIR` rm -f $LOCALSRCDIR