-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d63736
commit 2ae1d32
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This is a weird way of telling Travis to use the fast container-based test | ||
# runner instead of the slow VM-based runner. | ||
sudo: false | ||
|
||
language: go | ||
|
||
# Only the last two Go releases are supported by the Go team with security | ||
# updates. Any older versions be considered deprecated. Don't bother testing | ||
# with them. | ||
go: | ||
- 1.11 | ||
|
||
# Only clone the most recent commit. | ||
git: | ||
depth: 1 | ||
|
||
install: true | ||
|
||
notifications: | ||
email: false | ||
|
||
before_script: | ||
- go build ./... | ||
|
||
# script always runs to completion (set +e). If we have linter issues AND a | ||
# failing test, we want to see both. Configure golangci-lint with a | ||
# .golangci.yml file at the top level of your repo. | ||
script: | ||
- go test -v -race ./... # Run all the tests with the race detector enabled |