Skip to content

Commit

Permalink
Go mod & travisci (opsgenie#21)
Browse files Browse the repository at this point in the history
* Add Open Source Component File

* Change packaging to gomod and add travis ci
  • Loading branch information
Cem Küçük authored Mar 16, 2020
1 parent ba57880 commit 53af3d3
Show file tree
Hide file tree
Showing 1,146 changed files with 418,221 additions and 492 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@
# Output of the go coverage tool, specifically when used with LiteIDE
*.out

vendor/*
.idea/*
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: go
go:
- 1.12.x
- 1.13.x
- 1.14.x
os:
- linux
- osx
- windows

env:
- GO111MODULE=on

install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls

script:
- go test ./... -v -covermode=count -coverprofile=coverage.out

after_success:
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_REPO_TOKEN

Loading

0 comments on commit 53af3d3

Please sign in to comment.