Skip to content

Commit 2613553

Browse files
adding travis configs
Signed-off-by: Christopher Hein <[email protected]>
1 parent 4c9772f commit 2613553

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.travis.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: go
2+
3+
go:
4+
- 1.12
5+
6+
env:
7+
- GO111MODULE=on
8+
9+
script:
10+
- make test

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.PHONY: all
2+
all: build-example test
3+
4+
.PHONY: test
5+
test:
6+
go test -v ./...
7+
8+
.PHONY: build-example
9+
build-example:
10+
./hack/build_example.sh

0 commit comments

Comments
 (0)