24 lines
623 B
YAML
24 lines
623 B
YAML
# Setup for Travis CI http://travis-ci.org/
|
|
language: go
|
|
|
|
go:
|
|
- tip
|
|
|
|
# this breaks building from PRs because go get over-writes checkout out
|
|
# code with the code from master branch
|
|
# we don't have any dependencies so no need to fetch them
|
|
# If we did, we can fetch them manually or do some magic with go list ./... | grep filter | xargs go get -u
|
|
#before_install:
|
|
# - go get -d -t -v ./...
|
|
|
|
install:
|
|
- go build -v ./...
|
|
|
|
script:
|
|
- go test -race -v ./...
|
|
- go test -run=^$ -bench=BenchmarkReference -benchmem
|
|
- ./s/test_with_codecoverage.sh
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|