Set git config in script/cibuild

This commit is contained in:
Brandon Keepers 2015-04-08 16:23:52 -04:00
parent 596d13d8da
commit 243766aaec
3 changed files with 5 additions and 4 deletions

@ -1,6 +1,6 @@
# http://docs.travis-ci.com/user/languages/go/ # http://docs.travis-ci.com/user/languages/go/
language: go language: go
script: script/test script: script/cibuild
sudo: required sudo: required
notifications: notifications:
email: false email: false

@ -1,2 +1,6 @@
#!/bin/sh #!/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 script/test

@ -5,9 +5,6 @@
script/fmt script/fmt
script/bootstrap 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 export LOCALSRCDIR=`pwd`/.vendor/src/github.com/github/git-lfs
mkdir -p `dirname $LOCALSRCDIR` mkdir -p `dirname $LOCALSRCDIR`
rm -f $LOCALSRCDIR rm -f $LOCALSRCDIR