Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
李学坪 authored and 李学坪 committed Nov 15, 2017
1 parent 9179471 commit bb8874d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
Empty file added .coveralls.yml
Empty file.
19 changes: 19 additions & 0 deletions .travis.yml
@@ -0,0 +1,19 @@
language: go


go:
- 1.9.x

before_script:
- go get -u -t -v github.com/lflxp/sflow/...
- go get github.com/google/gopacket

script:
- go test -v ./...
- goveralls -service=travis-ci

notifications:
email:
recipients: 382023823@qq.com
on_success: change
on_failure: always
4 changes: 3 additions & 1 deletion README.md
@@ -1,3 +1,5 @@
# SFlow [![Circle CI](https://circleci.com/gh/lflxp/sflow.svg)](https://circleci.com/gh/lflxp) [![GoDoc](https://godoc.org/github.com/lflxp/sflow?status.svg)](https://godoc.org/github.com/lflxp/sflow) [![Coverage Status](https://coveralls.io/repos/github/lflxp/sflow/badge.svg?branch=master)](https://coveralls.io/github/lflxp/sflow?branch=master)

# Info
Parsing sFlow for packetbeat plug-ins

Expand Down Expand Up @@ -25,4 +27,4 @@ decoder all of layers
SFlowGenericInterfaceCounters
SFlowEthernetCounters
SFlowProcessorCounters
```
```

0 comments on commit bb8874d

Please sign in to comment.