Skip to content

Commit

Permalink
Enable Golang modules support
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanner Ryan committed Jun 1, 2019
1 parent 0c4726c commit 6bf7b14
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
language: go

go:
- "1.x"
- "1.12.x"

go_import_path: github.com/thetannerryan/ring
env:
- GO111MODULE=on

script:
- make
- make codecov

after_success:
- bash <(curl -s https://codecov.io/bash)

install: true
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test:
go test -v ring_test.go
go test -v ./...

coverage:
go test -covermode=count -coverprofile=count.out ./...
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/thetannerryan/ring

go 1.12

0 comments on commit 6bf7b14

Please sign in to comment.