Skip to content

Commit

Permalink
add travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiserKarel committed Oct 17, 2018
1 parent 2d63736 commit 2ae1d32
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions travis.yml
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

0 comments on commit 2ae1d32

Please sign in to comment.