2018-10-22 17:48:29 +00: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 19:47:05 +00:00
|
|
|
language: go
|
2018-10-22 17:48:29 +00:00
|
|
|
|
2018-08-06 19:47:05 +00:00
|
|
|
go:
|
2018-10-22 17:48:29 +00:00
|
|
|
- 1.5
|
|
|
|
- 1.6
|
|
|
|
- 1.7
|
|
|
|
|
2018-08-06 19:47:05 +00:00
|
|
|
install:
|
2018-10-22 17:48:29 +00:00
|
|
|
- go get -d -t -v ./...
|
|
|
|
- go build -v ./...
|
|
|
|
|
2018-08-06 19:47:05 +00:00
|
|
|
script:
|
2018-10-22 17:48:29 +00:00
|
|
|
- go test -v ./...
|
|
|
|
- go test -run=^$ -bench=BenchmarkReference -benchmem
|