Skip to content

Commit

Permalink
Merge pull request #177 from gammazero/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
gammazero authored May 21, 2019
2 parents edfb72a + 8f62f6b commit a7ad855
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 30 deletions.
20 changes: 2 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
language: go

go:
- "1.11"
- "1.12"
- 1.11.x
- 1.12.x

env:
global:
- GO111MODULE=on

before_script:
- go get
- go vet -all -composites=false ./...

script:
- go build ./examples/...
- go test ./nexusd/...
- go test -v -race ./wamp/...
- go test -v -race ./transport/...
- go test -v -race ./router/...
- go test -v -race ./client/...
- go test -v -race ./aat/...
- go test -v -race ./aat -scheme=ws -compress
- go test -v ./aat -scheme=wss -serialize=msgpack
- go test -v ./aat -scheme=tcps
13 changes: 9 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ SERVICE_DIR = nexusd

all: vet test service

vet:
go vet -all -composites=false -shadow=true ./...
$(GOPATH)/bin/shadow:
go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow

vet: $(GOPATH)/bin/shadow
go vet -all -composites=false ./...
go vet -vettool=$(GOPATH)/bin/shadow ./...

test:
go get github.com/fortytw2/leaktest
Expand All @@ -20,7 +24,7 @@ test:
go test -race ./aat -scheme=unix
go test ./aat -scheme=ws -serialize=msgpack
go test ./aat -scheme=tcp -serialize=msgpack
go test ./aat -scheme=ws -serialize=cbor
go test ./aat -scheme=ws -serialize=cbor -compress
go test ./aat -scheme=tcp -serialize=cbor
go test ./aat -scheme=wss
go test ./aat -scheme=tcps
Expand All @@ -42,4 +46,5 @@ $(SERVICE_DIR)/nexusd:
clean:
@rm -f $(SERVICE_DIR)/nexusd
@rm -f $(SERVICE_DIR)/*.log
@GO111MODULE=off go clean
@GO111MODULE=off go clean ./...
@GO111MODULE=off go clean -cache
7 changes: 5 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
module github.com/gammazero/nexus

go 1.12

require (
github.com/davecgh/go-spew v1.1.1
github.com/fortytw2/leaktest v1.3.0
github.com/gorilla/websocket v0.0.0-20181030144553-483fb8d7c32f
github.com/gorilla/websocket v1.4.0
github.com/ugorji/go v1.1.4
golang.org/x/crypto v0.0.0-20181106171534-e4dc69e5b2fd
golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f
golang.org/x/tools v0.0.0-20190520200954-7e7c6e521403 // indirect
)
19 changes: 13 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@ 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/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
github.com/gorilla/websocket v0.0.0-20181030144553-483fb8d7c32f h1:a3AO62p4QxRNbwMYvioUwy8S+pA0LD6t6gJlyJoXUcc=
github.com/gorilla/websocket v0.0.0-20181030144553-483fb8d7c32f/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/ugorji/go v0.0.0-20181022190402-e5e69e061d4f h1:LYZasnCL6dazS0SpVfPGMXEGpwE+XloUlzl6sItzPT0=
github.com/ugorji/go v0.0.0-20181022190402-e5e69e061d4f/go.mod h1:hnLbHMwcvSihnDhEfx2/BzKp2xb0Y+ErdfYcrs9tkJQ=
github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q=
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/ugorji/go v1.1.4 h1:j4s+tAvLfL3bZyefP2SEWmhBzmuIlH/eqNuPdFPgngw=
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
golang.org/x/crypto v0.0.0-20181106171534-e4dc69e5b2fd h1:VtIkGDhk0ph3t+THbvXHfMZ8QHgsBO39Nh52+74pq7w=
golang.org/x/crypto v0.0.0-20181106171534-e4dc69e5b2fd/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f h1:R423Cnkcp5JABoeemiGEPlt9tHXFfw5kvc0yqlxRPWo=
golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20190520200954-7e7c6e521403 h1:LkLPH7H115t/Cjvl2cV2VNZYdWWKt22DucZfiEgZ83o=
golang.org/x/tools v0.0.0-20190520200954-7e7c6e521403/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=

0 comments on commit a7ad855

Please sign in to comment.