Skip to content

Commit 16eec7e

Browse files
cuonglmCuong Manh Le
andauthored
Adding TravisCI (orijtech#4)
Fixes orijtech#2 Co-authored-by: Cuong Manh Le <[email protected]>
1 parent 5d45727 commit 16eec7e

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: go
2+
3+
go:
4+
- 1.14.x
5+
- 1.15.x
6+
7+
before_install:
8+
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0
9+
10+
script:
11+
- golangci-lint run
12+
- go test -v

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
# structslop
2+
3+
[![Build Status](https://travis-ci.com/orijtech/structslop.svg?token=zRGT22WqV6Do9u8mxebC&branch=master)](https://travis-ci.com/orijtech/structslop)

0 commit comments

Comments
 (0)