Simplify exporting the GOPATH

This commit is contained in:
Marius Orcsik 2018-06-05 20:59:42 +02:00
parent 55a57cc61e
commit fb06930a59
No known key found for this signature in database
GPG key ID: 889CE8E4FB2D877A

View file

@ -16,10 +16,12 @@ install:
- GOPATH=$GOPATH:$(pwd) go get -t -v ./...
script:
- GOPATH=$GOPATH:$(pwd) go test -v ./...
- export GOPATH="$GOPATH:$(pwd)"
- go test -v ./...
after_success:
- GOPATH=$GOPATH:$(pwd) go test -cover -coverprofile activitypub.coverprofile activitypub
- GOPATH=$GOPATH:$(pwd) go test -cover -coverprofile jsonld.coverprofile jsonld
- GOPATH=$GOPATH:$(pwd) $GOPATH/bin/gover
- export GOPATH="$GOPATH:$(pwd)"
- go test -cover -coverprofile activitypub.coverprofile activitypub
- go test -cover -coverprofile jsonld.coverprofile jsonld
- gover
- bash <(curl -s https://codecov.io/bash) -f gover.coverprofile