From 53ed8491f9786aa8a5a4f478541dedcf5792346a Mon Sep 17 00:00:00 2001 From: Chris Felegy Date: Mon, 5 Nov 2018 17:32:43 -0500 Subject: [PATCH] meta: fix CI --- .travis.yml | 4 +--- example/example_test.go | 9 +++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 example/example_test.go diff --git a/.travis.yml b/.travis.yml index 8aa8385..0287d47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,4 @@ language: go go: - "1.10" install: go get -t ./... -script: - - go test - - go build ./example/... +script: go test ./... diff --git a/example/example_test.go b/example/example_test.go new file mode 100644 index 0000000..98bb1d6 --- /dev/null +++ b/example/example_test.go @@ -0,0 +1,9 @@ +package main + +import ( + "testing" +) + +// test that the example package compiles +func TestCompiles(t *testing.T) { +}