go-libp2p-pubsub/.travis.yml

27 lines
411 B
YAML
Raw Normal View History

2016-09-11 03:47:12 +00:00
os:
- linux
language: go
go:
2020-03-25 07:28:09 +00:00
- 1.14.x
2019-03-02 00:13:11 +00:00
env:
matrix:
2020-03-25 07:28:09 +00:00
- GOTFLAGS="-race"
2020-04-22 16:44:38 +00:00
- GOTFLAGS="-race -tags=openssl"
2019-03-02 00:13:11 +00:00
2016-09-11 03:47:12 +00:00
cache:
2019-03-02 00:13:11 +00:00
directories:
- $GOPATH/pkg/mod
- $HOME/.cache/go-build
2016-09-11 03:47:12 +00:00
2020-03-25 07:28:09 +00:00
script:
- go build ./...
2020-05-15 17:28:12 +00:00
- travis_wait 35 go test -timeout 35m -v -race -coverprofile=coverage.txt -covermode=atomic ./...
2020-03-25 07:28:09 +00:00
after_success:
- bash <(curl -s https://codecov.io/bash)
2016-09-11 03:47:12 +00:00
notifications:
2020-03-25 07:28:09 +00:00
email: false