diff options
author | Dean Karn <Dean.Karn@gmail.com> | 2019-10-18 07:43:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 07:43:02 +0300 |
commit | ec2192eb0f1fa836d765f9871a93e2200b75bb91 (patch) | |
tree | 0e5400389b9ff5dc5237013be58b86d69a2212e6 | |
parent | 630ebbb602847eba93e75ae38bbc7bb7abcf1ff3 (diff) |
Modules (#26)
* update to use go modules
-rw-r--r-- | .travis.yml | 26 | ||||
-rw-r--r-- | go.mod | 5 | ||||
-rw-r--r-- | go.sum | 3 |
3 files changed, 34 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..d50237a6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: go +go: + - 1.13.1 + - tip +matrix: + allow_failures: + - go: tip + +notifications: + email: + recipients: dean.karn@gmail.com + on_success: change + on_failure: always + +before_install: + - go install github.com/mattn/goveralls + +# Only clone the most recent commit. +git: + depth: 1 + +script: + - go test -v -race -covermode=atomic -coverprofile=coverage.coverprofile ./... + +after_success: | + goveralls -coverprofile=coverage.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN
\ No newline at end of file @@ -0,0 +1,5 @@ +module github.com/go-playground/locales + +go 1.13 + +require golang.org/x/text v0.3.2 @@ -0,0 +1,3 @@ +golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= |