25 lines
977 B
YAML
25 lines
977 B
YAML
language: erlang
|
|
|
|
before_install:
|
|
- sudo apt-get install bzr >/dev/null 2>&1
|
|
- apt-get remove -y --force-yes --purge golang || true
|
|
- apt-get remove -y --force-yes --purge golang-stable || true
|
|
- apt-get remove -y --force-yes --purge golang-weekly || true
|
|
- apt-get remove -y --force-yes --purge golang-tip || true
|
|
|
|
install:
|
|
- hg clone -u release https://code.google.com/p/go "${HOME}/go" >/dev/null 2>&1
|
|
- cd "${HOME}/go/src" && ./make.bash >/dev/null 2>&1
|
|
- mkdir -p "${HOME}/src" || true
|
|
- mkdir -p "${HOME}/bin" || true
|
|
- mkdir -p "${HOME}/pkg" || true
|
|
- export GOPATH="${HOME}"
|
|
- export PATH=${PATH}:${HOME}/go/bin
|
|
- ln -s "${HOME}/builds/matttproud/golang_instrumentation" "${HOME}/src/golang_instrumentation"
|
|
- go get -v launchpad.net/gocheck >/dev/null 2>&1
|
|
- go get -v github.com/matttproud/golang_instrumentation
|
|
|
|
script:
|
|
- go build -a -v github.com/matttproud/golang_instrumentation/...
|
|
- go test -v github.com/matttproud/golang_instrumentation/...
|