4fd1d0ec2d
Doesn't usually build with a fork because the clone path is $fork_user/git-lfs instead of github/git-lfs which breaks package references. This fixes that. Note that this code should work on any golang repo owned by github
10 lines
382 B
YAML
10 lines
382 B
YAML
# http://docs.travis-ci.com/user/languages/go/
|
|
language: go
|
|
install: true
|
|
script: script/cibuild
|
|
notifications:
|
|
email: false
|
|
before_install:
|
|
- repo=`basename $PWD`; localDir=`dirname $PWD`; cfDir="`dirname $localDir`/github"
|
|
- if [[ "$localDir" != "$cfDir" ]]; then mv "$localDir" "$cfDir"; cd ../../github/$repo; export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$repo; fi
|