vikunja-api/vendor/github.com/pelletier/go-toml/.travis.yml

23 lines
579 B
YAML
Raw Normal View History

2018-09-08 13:33:04 +02:00
sudo: false
language: go
go:
2019-05-07 21:42:24 +02:00
- 1.11.x
- 1.12.x
2018-09-08 13:33:04 +02:00
- tip
matrix:
allow_failures:
- go: tip
fast_finish: true
2019-05-07 21:42:24 +02:00
env:
- GO111MODULE=on
2018-09-08 13:33:04 +02:00
script:
- if [ -n "$(go fmt ./...)" ]; then exit 1; fi
2019-05-07 21:42:24 +02:00
- 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
2018-09-08 13:33:04 +02:00
- ./benchmark.sh $TRAVIS_BRANCH https://github.com/$TRAVIS_REPO_SLUG.git
2019-05-07 21:42:24 +02:00
2018-09-08 13:33:04 +02:00
after_success:
2019-05-07 21:42:24 +02:00
- bash <(curl -s https://codecov.io/bash)