ethr/.travis.yml
Boyan Soubachov 2f83ae6fb3 Fix Travis builds (#88)
* Fix Travis builds

* Fix windows build
2019-07-21 01:21:38 -07:00

51 lines
1.4 KiB
YAML

language: go
go:
- stable
os:
- linux
- windows
- osx
env:
- GO111MODULE=on
matrix:
allow_failures:
- os: windows
go: master
fast_finish: true
before_install:
- go get -u golang.org/x/tools/cmd/goimports
- go get -u golang.org/x/lint/golint
- chmod +x travis_build.sh
install:
- go get -t -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:
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