forked from oauth2-proxy/oauth2-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from gpm -> dep for dependency management
- Loading branch information
Showing
8 changed files
with
182 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
|
||
[[constraint]] | ||
name = "github.com/18F/hmacauth" | ||
version = "~1.0.1" | ||
|
||
[[constraint]] | ||
name = "github.com/BurntSushi/toml" | ||
version = "~0.3.0" | ||
|
||
[[constraint]] | ||
name = "github.com/bitly/go-simplejson" | ||
version = "~0.5.0" | ||
|
||
[[constraint]] | ||
branch = "v2" | ||
name = "github.com/coreos/go-oidc" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/mreiferson/go-options" | ||
|
||
[[constraint]] | ||
name = "github.com/stretchr/testify" | ||
version = "~1.1.4" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "golang.org/x/oauth2" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "google.golang.org/api" | ||
|
||
[[constraint]] | ||
name = "gopkg.in/fsnotify.v1" | ||
version = "~1.2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
EXIT_CODE=0 | ||
echo "gofmt" | ||
diff -u <(echo -n) <(gofmt -d $(find . -type f -name '*.go' -not -path "./.godeps/*")) | ||
echo "go vet" | ||
go vet ./... | ||
echo "go test" | ||
go test -timeout 60s ./... | ||
echo "go test -race" | ||
GOMAXPROCS=4 go test -timeout 60s -race ./... | ||
diff -u <(echo -n) <(gofmt -d $(find . -type f -name '*.go' -not -path "./vendor/*")) || EXIT_CODE=1 | ||
for pkg in $(go list ./... | grep -v '/vendor/' ); do | ||
echo "testing $pkg" | ||
echo "go vet $pkg" | ||
go vet "$pkg" || EXIT_CODE=1 | ||
echo "go test -v $pkg" | ||
go test -v -timeout 90s "$pkg" || EXIT_CODE=1 | ||
echo "go test -v -race $pkg" | ||
GOMAXPROCS=4 go test -v -timeout 90s0s -race "$pkg" || EXIT_CODE=1 | ||
done | ||
exit $EXIT_CODE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters