We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac2b870 commit 2925b54Copy full SHA for 2925b54
.travic.yml
@@ -0,0 +1,14 @@
1
+language: go
2
+go:
3
+ - 1.9
4
+# Don't email me the results of the test runs.
5
+notifications:
6
+ email: false
7
+before_script:
8
+ - go get github.com/golang/lint/golint # Linter
9
+
10
+script:
11
+ - test -z $(gofmt -s -l $GO_FILES) # Fail if a .go file hasn't been formatted with gofmt
12
+ - go test -v -race ./... # Run all the tests with the race detector enabled
13
+ - go vet ./... # go vet is the official Go static analyzer
14
+ - golint -set_exit_status $(go list ./...) # one last linter
0 commit comments