# http://docs.travis-ci.com/user/languages/go/
language: go
install: true
script: script/cibuild
notifications:
  email: false

# 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

Make it possible to enable Travis on forks
Make it possible to enable Travis on forks

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
