28 lines
515 B
YAML
28 lines
515 B
YAML
language: go
|
|
go:
|
|
- 1.7
|
|
- 1.8
|
|
- '1.9.x'
|
|
- '1.10.x'
|
|
- '1.11.x'
|
|
- '1.12.x'
|
|
- master
|
|
|
|
sudo: false
|
|
|
|
before_install:
|
|
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
|
- go get github.com/axw/gocov/gocov
|
|
- go get github.com/mattn/goveralls
|
|
|
|
install:
|
|
- go get .
|
|
- go get ./unidecode
|
|
|
|
script:
|
|
- unidecode -V
|
|
- unidecode abc
|
|
- echo "abc" | unidecode
|
|
- echo "abc" > abc.txt && unidecode < abc.txt
|
|
- $HOME/gopath/bin/goveralls -service=travis-ci
|