2018-10-22 10:48:29 -07:00
|
|
|
# Travis CI (http://travis-ci.org/) is a continuous integration service for
|
|
|
|
# open source projects. This file configures it to run unit tests for
|
|
|
|
# blackfriday.
|
|
|
|
|
2018-08-06 12:47:05 -07:00
|
|
|
language: go
|
2018-10-22 10:48:29 -07:00
|
|
|
|
2018-08-06 12:47:05 -07:00
|
|
|
go:
|
2018-10-22 10:48:29 -07:00
|
|
|
- 1.5
|
|
|
|
- 1.6
|
|
|
|
- 1.7
|
|
|
|
|
2018-08-06 12:47:05 -07:00
|
|
|
install:
|
2018-10-22 10:48:29 -07:00
|
|
|
- go get -d -t -v ./...
|
|
|
|
- go build -v ./...
|
|
|
|
|
2018-08-06 12:47:05 -07:00
|
|
|
script:
|
2018-10-22 10:48:29 -07:00
|
|
|
- go test -v ./...
|
|
|
|
- go test -run=^$ -bench=BenchmarkReference -benchmem
|