@@ -17,7 +17,5 @@ before_install:
|
|||||||
- go get github.com/axw/gocov/gocov
|
- go get github.com/axw/gocov/gocov
|
||||||
- go get github.com/mattn/goveralls
|
- go get github.com/mattn/goveralls
|
||||||
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
||||||
branches:
|
|
||||||
only: [master]
|
|
||||||
after_success:
|
after_success:
|
||||||
- $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken $COVERALLS_TOKEN
|
- $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken $COVERALLS_TOKEN
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ This library supports TOML version
|
|||||||
[](http://godoc.org/github.com/pelletier/go-toml)
|
[](http://godoc.org/github.com/pelletier/go-toml)
|
||||||
[](https://github.com/pelletier/go-toml/blob/master/LICENSE)
|
[](https://github.com/pelletier/go-toml/blob/master/LICENSE)
|
||||||
[](https://travis-ci.org/pelletier/go-toml)
|
[](https://travis-ci.org/pelletier/go-toml)
|
||||||
|
[](https://ci.appveyor.com/project/pelletier/go-toml/branch/master)
|
||||||
[](https://coveralls.io/github/pelletier/go-toml?branch=master)
|
[](https://coveralls.io/github/pelletier/go-toml?branch=master)
|
||||||
[](https://goreportcard.com/report/github.com/pelletier/go-toml)
|
[](https://goreportcard.com/report/github.com/pelletier/go-toml)
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
version: "{build}"
|
||||||
|
|
||||||
|
# Source Config
|
||||||
|
|
||||||
|
clone_folder: c:\gopath\src\github.com\pelletier\go-toml
|
||||||
|
|
||||||
|
# Build host
|
||||||
|
|
||||||
|
environment:
|
||||||
|
GOPATH: c:\gopath
|
||||||
|
DEPTESTBYPASS501: 1
|
||||||
|
GOVERSION: 1.9
|
||||||
|
|
||||||
|
init:
|
||||||
|
- git config --global core.autocrlf input
|
||||||
|
|
||||||
|
# Build
|
||||||
|
|
||||||
|
install:
|
||||||
|
# Install the specific Go version.
|
||||||
|
- rmdir c:\go /s /q
|
||||||
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
|
||||||
|
- msiexec /i go%GOVERSION%.windows-amd64.msi /q
|
||||||
|
- choco install bzr
|
||||||
|
- set Path=c:\go\bin;c:\gopath\bin;C:\Program Files (x86)\Bazaar\;C:\Program Files\Mercurial\%Path%
|
||||||
|
- go version
|
||||||
|
- go env
|
||||||
|
|
||||||
|
build: false
|
||||||
|
deploy: false
|
||||||
|
|
||||||
|
test_script:
|
||||||
|
- go get github.com/davecgh/go-spew/spew
|
||||||
|
- go get gopkg.in/yaml.v2
|
||||||
|
- go get github.com/BurntSushi/toml
|
||||||
|
- go build github.com/pelletier/go-toml
|
||||||
|
- go test github.com/pelletier/go-toml
|
||||||
|
- go test github.com/pelletier/go-toml/cmd/tomljson
|
||||||
|
- go test github.com/pelletier/go-toml/query
|
||||||
@@ -23,7 +23,6 @@ function git_clone() {
|
|||||||
# Remove potential previous runs
|
# Remove potential previous runs
|
||||||
rm -rf src test_program_bin toml-test
|
rm -rf src test_program_bin toml-test
|
||||||
|
|
||||||
go get github.com/pelletier/go-buffruneio
|
|
||||||
go get github.com/davecgh/go-spew/spew
|
go get github.com/davecgh/go-spew/spew
|
||||||
go get gopkg.in/yaml.v2
|
go get gopkg.in/yaml.v2
|
||||||
go get github.com/BurntSushi/toml
|
go get github.com/BurntSushi/toml
|
||||||
|
|||||||
Reference in New Issue
Block a user