26 lignes
731 o
YAML
26 lignes
731 o
YAML
language: go
|
|
go:
|
|
- 1.x
|
|
install:
|
|
- go get github.com/gorilla/feeds
|
|
- go get github.com/gorilla/mux
|
|
- go get github.com/mattn/go-sqlite3
|
|
- go get github.com/jinzhu/gorm
|
|
- go get github.com/lib/pq
|
|
- go get github.com/Sirupsen/logrus
|
|
- go get gopkg.in/natefinch/lumberjack.v2
|
|
- go get gopkg.in/gomail.v2
|
|
- go get github.com/gorilla/securecookie
|
|
- go get golang.org/x/crypto/bcrypt
|
|
- go get github.com/nicksnyder/go-i18n/i18n
|
|
- go build
|
|
|
|
script:
|
|
- go get github.com/mitchellh/gox
|
|
- gox -build-toolchain
|
|
- go get github.com/tcnksm/ghr
|
|
- go get github.com/axw/gocov/gocov
|
|
|
|
after_success:
|
|
- gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}"
|
|
- ghr --username tcnksm-sample --token $GITHUB_TOKEN --replace --prerelease --debug pre-release dist/
|