Skip to content

Commit

Permalink
Merge d9ffca6 into 47c3623
Browse files Browse the repository at this point in the history
  • Loading branch information
adelowo committed Feb 20, 2019
2 parents 47c3623 + d9ffca6 commit d3288c4
Show file tree
Hide file tree
Showing 9 changed files with 2,240 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,22 @@ install:
- go install ./...
# As of 1.9, ./... no longer includes ./vendor/...
- go install ./vendor/{golang.org/x/tools/cmd/goimports,github.com/wadey/gocovmerge,github.com/mattn/goveralls}
- go get github.com/go-swagger/go-swagger/cmd/swagger

script:
- sudo pip3 install google
- sudo pip3 install protobuf
### Needed to convert the swagger 2.0 file to openapi 3.0
### The swagger docs are actually written as per the 2.0 spec as there is no
### support for openapi 3.0 in Go - at least for now.
### https://github.com/nodesource/distributions/blob/master/README.md#debinstall
- curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install nodejs
- sudo npm install -g api-spec-converter --unsafe-perm=true --allow-root
- go build -tags 'coprocess python'
- go build -tags 'coprocess lua'
- go build -tags 'coprocess grpc'
- ./utils/ci-swagger.sh
- ./utils/ci-test.sh
- if [[ $LATEST_GO ]]; then goveralls -coverprofile=<(gocovmerge *.cov); fi
- ./utils/ci-benchmark.sh
Loading

0 comments on commit d3288c4

Please sign in to comment.