Skip to content

Commit

Permalink
Merge b8d24d1 into 09f3dfb
Browse files Browse the repository at this point in the history
  • Loading branch information
o1egl committed Oct 28, 2018
2 parents 09f3dfb + b8d24d1 commit e5f3f40
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 28 deletions.
54 changes: 37 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,45 @@
language: go
go:
- 1.8.x
- 1.9.x
- 1.10.x
- tip

env:
- GOMAXPROCS=4 GORACE=halt_on_error=1 GO111MODULE=on

before_install:
- export PATH=$PATH:$GOPATH/bin
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get github.com/golang/dep/cmd/dep
- go get github.com/golang/lint/golint
install:
- dep ensure
script:
- diff -u <(echo -n) <(gofmt -d -s $(find . -type f -name '*.go' -not -path "./vendor/*"))
- go vet $(go list ./... | grep -v /vendor/)
- golint -set_exit_status
- go test -coverprofile=parser.coverprofile
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
- go get golang.org/x/lint/golint

install: true

matrix:
include:
- go: "1.8.x"
install:
- go get -t -v ./...
script:
- go test -v -race
- go: "1.9.x"
install:
- go get -t -v ./...
script:
- go test -v -race
- go: "1.10.x"
install:
- go get -t -v ./...
script:
- go test -v -race
- go: "1.11.x"
script:
- diff -u <(echo -n) <(gofmt -d -s $(find . -type f -name '*.go' -not -path "./vendor/*"))
- go vet $(go list ./... | grep -v /vendor/)
- golint -set_exit_status
- go test -v -race -coverprofile=paseto.coverprofile
- goveralls -coverprofile=paseto.coverprofile -service=travis-ci
- go: "tip"
script:
- diff -u <(echo -n) <(gofmt -d -s $(find . -type f -name '*.go' -not -path "./vendor/*"))
- go vet $(go list ./... | grep -v /vendor/)
- golint -set_exit_status
- go test -v -race
allow_failures:
- go: tip
11 changes: 0 additions & 11 deletions Gopkg.toml

This file was deleted.

12 changes: 12 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module github.com/o1egl/paseto

require (
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da
github.com/aead/chacha20poly1305 v0.0.0-20170617001512-233f39982aeb
github.com/aead/poly1305 v0.0.0-20180717145839-3fee0db0b635 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.2.2
golang.org/x/crypto v0.0.0-20181025213731-e84da0312774
golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 // indirect
)
16 changes: 16 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY=
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA=
github.com/aead/chacha20poly1305 v0.0.0-20170617001512-233f39982aeb h1:6Z/wqhPFZ7y5ksCEV/V5MXOazLaeu/EW97CU5rz8NWk=
github.com/aead/chacha20poly1305 v0.0.0-20170617001512-233f39982aeb/go.mod h1:UzH9IX1MMqOcwhoNOIjmTQeAxrFgzs50j4golQtXXxU=
github.com/aead/poly1305 v0.0.0-20180717145839-3fee0db0b635 h1:52m0LGchQBBVqJRyYYufQuIbVqRawmubW3OFGqK1ekw=
github.com/aead/poly1305 v0.0.0-20180717145839-3fee0db0b635/go.mod h1:lmLxL+FV291OopO93Bwf9fQLQeLyt33VJRUg5VJ30us=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/crypto v0.0.0-20181025213731-e84da0312774 h1:a4tQYYYuK9QdeO/+kEvNYyuR21S+7ve5EANok6hABhI=
golang.org/x/crypto v0.0.0-20181025213731-e84da0312774/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 h1:x6r4Jo0KNzOOzYd8lbcRsqjuqEASK6ob3auvWYM4/8U=
golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=

0 comments on commit e5f3f40

Please sign in to comment.