This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add travis integration build and badges
- Loading branch information
Showing
5 changed files
with
43 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
language: go | ||
|
||
sudo: false | ||
go: | ||
- 1.9 | ||
- 1.10 | ||
- tip | ||
|
||
matrix: | ||
allow_failures: | ||
- go: top | ||
fast_finish: true | ||
|
||
- 1.x | ||
- 1.9.x | ||
before_install: | ||
- go get github.com/golang/lint/golint | ||
- go get github.com/fzipp/gocyclo | ||
- go get github.com/golang/lint/golint | ||
- go get github.com/mattn/goveralls | ||
- go get golang.org/x/tools/cmd/cover | ||
|
||
- go get github.com/mattn/goveralls | ||
- go get golang.org/x/tools/cmd/cover | ||
- go get github.com/fzipp/gocyclo | ||
- go get github.com/golang/dep/cmd/dep | ||
- go get honnef.co/go/tools/cmd/megacheck | ||
- go get -u golang.org/x/lint/golint | ||
jobs: | ||
include: | ||
- stage: integration tests | ||
if: type IN (push, cron) | ||
env: | ||
- secure: TsDOhh0oWTh5pkpo8YOC9RD20fkC5G228E5z7HlgTaZCIhqr6UOjo/nF4KGGKxCCWzIjC7PcAyEOFf3ZfHZVbMc2RWt+ZoDvnYXTJ1x58ea5r14fswyUdFWpx55DhiaFZNMM6xiB2roFQaFloAUuI5pITknjuslnAXCNXA8ONfNIaBSF842rEfyRV8Jke8pTUe3BpXHg1uRky6HjC1P1hVW3VFmGQ9ODIbxxBD6fKPdznxGLkKmVghIBZ4tqj1e+ysH2Peu+FhwGfxEFXp6WF+K6GIMNheE+P2wn1bDsm+mWwpS5FxcvvcRVEaWCfQf8tf9uXdwGC8sndBmmN2IS5HA5cxuVeBNlVFJ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SCjFWLg5Zjm7l4bkol8SLZp6jQ7pQmzZFWgXhuOVedd0pFJ3NJgdvYXgCrufN5MALXr2HLDL4h9pajpBIOTzvnxnBpnUqots7nnsPsMQknCjL858QZSGwWNdp0wPunsh9J/9Sr7Wdna+At797nTuR8pz4X7iSa3nR8a/YeBDPwnn4gQUUnnWeEa6BGJjNMqpWVVOPl4HTFcxTrYza1rmjzVA8XkC3esNBL4IFScHfw= | ||
- secure: HEE7ZrDXItBc0S5iL3tStjFtlpPjLq3ZiF5LRu+s9rr/HmGr+yuD911pUGgqP9+Fvc49520sW7QSkM8bd2GiVN+Fp05DWIl/syQkonFjAxlwg9qzWF4dtFV5n787hkIuqO9W5cRvqe4AEdQ5CdbBpvJ//tVp/DsoFCJKS3VG8gL16vCLmuH+awj0Wk+lnhYHuI6Rce5+W1qSonyQzTWFUaLOQsJw4BYIw9UD0MaZGZjd0xy/93/BW7gKms9f1QGBWCyASaHlPKMS9yUu+rLqm6egfrZf1vL4YufPUlAYLtCvZ1BfEQVLpvAzZPDhK9QGJglgYfkxAZAvw55emvtZQgvLy9LKsNm7YKSdRKjIJsZ+7q76GUew3KT2lqWKK/DXvgd0Q9t+v2jl2n/tEm9Ge0EWOdwRYztNNl+btw/oRGY4CTKwVhSQvYkbkz9h2L5LZ3kRuNfG1ArXHtu/9OdtlUZtEKJ/T21AKEQ7uxyhnvMTXDgH/POXC239Q+YcjHiHTEAPF/pO2qeKcYgRf6LUVrXVjenHgRXIRGWRRs+y7dFzS+0qXM/hCyoXMbJZa3+0srNvN4GjWyodMNuIfvf7xc70pccfyRpaRZr5dM5Ciykm1DALZ7YfWzifNPd/B3ADnooL5JCXDycZi42wIN/9FXXeETBZMAvVrDdu6wcopzI= | ||
script: | ||
- make test-cover | ||
- goveralls -coverprofile=cover.out -service=travis-ci | ||
script: | ||
- make test-cover | ||
- goveralls -coverprofile=cover.out -service=travis-ci | ||
- make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters