Skip to content

Commit 7c328e6

Browse files
committed
WIP: Travis config
Signed-off-by: Gustavo Sampaio <[email protected]>
1 parent ee2df35 commit 7c328e6

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.travis.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
language: go
2+
3+
go:
4+
- "1.12"
5+
6+
script: ./Taskfile test

Taskfile

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ function generateProtos {
55
protoc -I ./protobuf ./protobuf/*.proto --go_out=plugins=grpc:./protos
66
}
77

8+
function test {
9+
go test -cover -timeout 30s $*
10+
}
11+
812
function help {
913
echo "$0 <task> <args>"
1014
echo "Tasks:"

0 commit comments

Comments
 (0)