405d48dc28
* Port toml-test to pure Go This change basically ports the toml-test examples test suite to pure Go. This removes the snowflake test.sh required to run such tests, and allows us to the example tests on any platform (which includes Windows as part of the pull-request testing). * Allow CircleCI failure for go tip
24 lines
664 B
YAML
24 lines
664 B
YAML
sudo: false
|
|
language: go
|
|
go:
|
|
- 1.11.x
|
|
- 1.12.x
|
|
- tip
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
fast_finish: true
|
|
script:
|
|
- if [ -n "$(go fmt ./...)" ]; then exit 1; fi
|
|
- go get github.com/davecgh/go-spew/spew
|
|
- go get gopkg.in/yaml.v2
|
|
- go get github.com/BurntSushi/toml
|
|
- 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)
|