Skip to content

Commit

Permalink
Remove committed vendored dependencies
Browse files Browse the repository at this point in the history
Unfortunately this broke the `go get` consumers so backing it out.
Enable travis caching of the dep cache to help CI instability.
  • Loading branch information
jhendrixMSFT committed Mar 12, 2019
1 parent 8f9e1a4 commit b860c92
Show file tree
Hide file tree
Showing 957 changed files with 15 additions and 499,305 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ _testmain.go
*.swp
*~
.DS_Store

# ignore vendor/
vendor/
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ branches:

env:
global:
- DEP_RELEASE_TAG=v0.5.1 # so the script knows which version to use
- IGNORE_BREAKING_CHANGES=true

before_install:
- curl -sSL https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

install:
- dep ensure -v

script:
- bash rungas.sh
- grep -L -r --include *.go --exclude-dir vendor -P "Copyright (\d{4}|\(c\)) Microsoft" ./ | tee /dev/stderr | test -z "$(< /dev/stdin)"
Expand All @@ -25,3 +32,7 @@ script:
- go run ./tools/apidiff/main.go packages ./services FETCH_HEAD~1 FETCH_HEAD --copyrepo --breakingchanges || $IGNORE_BREAKING_CHANGES
- go run ./tools/pkgchk/main.go ./services --exceptions ./tools/pkgchk/exceptions.txt
- git diff --exit-code

cache:
directories:
- $GOPATH/pkg/dep
1 change: 1 addition & 0 deletions swagger_to_sdk_config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"meta": {
"after_scripts": [
"dep ensure",
"go generate ./profiles/generate.go",
"gofmt -w ./profiles/",
"gofmt -w ./services/"
Expand Down
17 changes: 0 additions & 17 deletions vendor/contrib.go.opencensus.io/exporter/ocagent/.travis.yml

This file was deleted.

24 changes: 0 additions & 24 deletions vendor/contrib.go.opencensus.io/exporter/ocagent/CONTRIBUTING.md

This file was deleted.

201 changes: 0 additions & 201 deletions vendor/contrib.go.opencensus.io/exporter/ocagent/LICENSE

This file was deleted.

61 changes: 0 additions & 61 deletions vendor/contrib.go.opencensus.io/exporter/ocagent/README.md

This file was deleted.

38 changes: 0 additions & 38 deletions vendor/contrib.go.opencensus.io/exporter/ocagent/common.go

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/contrib.go.opencensus.io/exporter/ocagent/go.mod

This file was deleted.

Loading

0 comments on commit b860c92

Please sign in to comment.