ethr/.travis.yml

52 lines
1.4 KiB
YAML
Raw Normal View History

language: go
go:
- '1.11'
- master
os:
- linux
- windows
- osx
matrix:
allow_failures:
- os: windows
go: master
fast_finish: true
before_install:
- go get -t -v ./...
- go get -u golang.org/x/tools/cmd/goimports
- go get -u golang.org/x/lint/golint
- go get github.com/golang/dep/...
- chmod +x travis_build.sh
install:
- "$GOPATH/bin/dep ensure -v"
notifications:
email: false
script:
- go test -v -race ./...
- go vet ./...
- goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")
- golint $(go list ./... | grep -v /vendor/)
- "./travis_build.sh"
deploy:
provider: releases
skip_cleanup: true
api_key:
2019-01-30 21:20:38 +08:00
secure: abQ1+sEMMsTMQk3aBHc2cD4yi46X38yPPZrY4AIotZTTutrbcfBzuKE7fCOh7C49wi2PS1LsJVtivfe2EBRm/yOV32tKorUL7AzqRSuvIQ6vKvsMU1U10Ix5VghYo+YYTpjPCQb77NNJDDOpjoROnADTXUASCZYw0mOIAHzjFeSBCx5LADOSvQ0JSM8UEBi/n32esBvRuDN1a/2Bp1vzjHrUZ3pN4GZmQxJBrQvE1cNMCwWQvi58Tuqhpu0yL1dCGA3yVG2GOkirSom6UMWGGxtadIdVUjyGzmlV1uGGakkggWazOp+Bw1M2Wrr48kcM9dYWO0YG+FYNroSq13CyBtJiDVG0bAwKHi4VmCtctB1RCBw5UkKQ33z+bDf+aW39/+G/f5OGRHkFB4N0udR8+Z2AmH80jY8PHakRRBbiKBOIkUnWKdbKB4EeosN1BT6+4xbdey3gaeDBU4ERHnceqnGjKRZd24dBu30xfDDfxrexyJsIqM5/uCpv5xgcBdcFIKcPj7hAfGG2v+JgFbQfF/hdRpxlM4xwwArEXEAYILy1OUkOOzsiNatYciOKpzh6uTkroi9DMYrZpJOXIcRjryhQvbe6i/vWC2NimVOa1bv6tJpH2ru/KR5aMhcglZyNGvKU8IJ5jgVN/2EQBIMxD2L92VksV7Hj6pawFrYCixg=
file:
- ethr_linux.zip
- ethr_windows.zip
- ethr_osx.zip
on:
repo: Microsoft/ethr
branch: master
tags: true