Preparations for the go modules way of work
This commit is contained in:
+2
-7
@@ -16,17 +16,12 @@ before_install:
|
||||
- go get -u github.com/go-playground/overalls
|
||||
- go get -u github.com/mattn/goveralls
|
||||
- go get -u golang.org/x/tools/cmd/cover
|
||||
- mkdir -p $GOPATH/src/gopkg.in
|
||||
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v2
|
||||
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v3
|
||||
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v4
|
||||
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v5
|
||||
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v6
|
||||
|
||||
before_script:
|
||||
- go get -t ./...
|
||||
- go mod download
|
||||
|
||||
script:
|
||||
- make lint
|
||||
- make test
|
||||
|
||||
after_success: |
|
||||
|
||||
Reference in New Issue
Block a user