Skip to content

Commit

Permalink
dropping v1 dir (#500)
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Nichols <snichols@vmware.com>
  • Loading branch information
n3wscott authored May 8, 2020
1 parent 6fdf5c2 commit 3d4ceff
Show file tree
Hide file tree
Showing 229 changed files with 4 additions and 32,891 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- run: go get honnef.co/go/tools/cmd/staticcheck
- run:
name: "Run staticcheck"
command: pushd v2; staticcheck ./...; popd
command: pushd v2; staticcheck -tags conformance ./...; popd
- run:
name: Run unit tests
command: |
Expand Down
2 changes: 1 addition & 1 deletion hack/conformance-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -o pipefail
# v2 only
pushd ./v2/test/conformance/

go test -v -timeout 15s
go test --tags=conformance -v -timeout 15s

# Remove test only deps.
go mod tidy
Expand Down
15 changes: 0 additions & 15 deletions hack/unit-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@ set -o errexit
set -o nounset
set -o pipefail

# v1
pushd ./v1
touch ./coverage.tmp
echo 'mode: atomic' > ./coverage.txt
COVERPKG=$(go list ./... | grep -v /vendor | tr "\n" ",")
for gomodule in $(go list ./... | grep -v /cmd | grep -v /vendor)
do
go test -v -timeout 15s -covermode=atomic -coverprofile=coverage.tmp -coverpkg "$COVERPKG" "$gomodule" 2>&1 | sed 's/ of statements in.*//; /warning: no packages being tested depend on matches for pattern /d'
tail -n +2 coverage.tmp >> ./coverage.txt
done
rm coverage.tmp
# Remove test only deps.
go mod tidy
popd

# v2
pushd ./v2
touch ./coverage.tmp
Expand Down
76 changes: 0 additions & 76 deletions v1/README.md

This file was deleted.

241 changes: 0 additions & 241 deletions v1/alias.go

This file was deleted.

33 changes: 0 additions & 33 deletions v1/binding/buffering/acks_before_finish_message.go

This file was deleted.

Loading

0 comments on commit 3d4ceff

Please sign in to comment.