summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorSean Karlage <skarlage@fb.com>2018-03-06 23:36:08 -0800
committerSean Karlage <skarlage@fb.com>2018-03-07 12:40:58 -0800
commit86fb7391e3b79bca597d9a4efaa22425c84aea5f (patch)
treedeafa2563e8d2877c62bffd6e477ebbe18adaad0 /.travis.yml
parentd118e7c395da781725cd5514e9105cd35ac8489d (diff)
Add Travis CI configs to run tests, gofmt, and govet
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..64490c1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,14 @@
+language: go
+
+sudo: false
+
+go:
+ - "1.8"
+ - "1.9"
+ - "1.10"
+ - tip
+
+script:
+ - ./.travis.gofmt.sh
+ - ./.travis.govet.sh
+ - go test -v -race $(go list ./...)