mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 11:44:27 +00:00
c4d8d53a6d
* Use vendored go-swagger (#8087) * Use vendored go-swagger * vendor go-swagger * revert un wanteed change * remove un-needed GO111MODULE * Update Makefile Co-Authored-By: techknowlogick <matti@mdranta.net> * re-generate swagger file
23 lines
579 B
YAML
23 lines
579 B
YAML
sudo: false
|
|
language: go
|
|
go:
|
|
- 1.11.x
|
|
- 1.12.x
|
|
- tip
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
fast_finish: true
|
|
env:
|
|
- GO111MODULE=on
|
|
script:
|
|
- if [ -n "$(go fmt ./...)" ]; then exit 1; fi
|
|
- go test github.com/pelletier/go-toml -race -coverprofile=coverage.txt -covermode=atomic
|
|
- go test github.com/pelletier/go-toml/cmd/tomljson
|
|
- go test github.com/pelletier/go-toml/cmd/tomll
|
|
- go test github.com/pelletier/go-toml/query
|
|
- ./benchmark.sh $TRAVIS_BRANCH https://github.com/$TRAVIS_REPO_SLUG.git
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|