140886f9dc
/examples/hook/hook.go with it's child dependency on airbrake/gobrake is not backwards compatible pre-go1.6 due to use of the following: - os.LookupEnv (introduced in go1.5) - http.StatusTooManyRequests (introduced in go1.6) ignoring the fetch and explicit test of /examples/ fixes failing go1.3, go1.4, go1.5 builds.
13 lines
231 B
YAML
13 lines
231 B
YAML
language: go
|
|
go:
|
|
- 1.3
|
|
- 1.4
|
|
- 1.5
|
|
- 1.6
|
|
- 1.7
|
|
- tip
|
|
install:
|
|
- go get -t $(go list ./... | grep -v /examples/)
|
|
script:
|
|
- GOMAXPROCS=4 GORACE="halt_on_error=1" go test -race -v $(go list ./... | grep -v /examples/)
|