-
Notifications
You must be signed in to change notification settings - Fork 393
/
.travis.yml
51 lines (41 loc) · 1.39 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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