mirror of https://github.com/sirupsen/logrus.git
Updated .travis.yml to ignore /examples/
/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.
This commit is contained in:
parent
380f64d344
commit
140886f9dc
|
@ -4,7 +4,9 @@ go:
|
||||||
- 1.4
|
- 1.4
|
||||||
- 1.5
|
- 1.5
|
||||||
- 1.6
|
- 1.6
|
||||||
|
- 1.7
|
||||||
- tip
|
- tip
|
||||||
install:
|
install:
|
||||||
- go get -t ./...
|
- go get -t $(go list ./... | grep -v /examples/)
|
||||||
script: GOMAXPROCS=4 GORACE="halt_on_error=1" go test -race -v ./...
|
script:
|
||||||
|
- GOMAXPROCS=4 GORACE="halt_on_error=1" go test -race -v $(go list ./... | grep -v /examples/)
|
||||||
|
|
Loading…
Reference in New Issue