1 Star 0 Fork 1

fensnote/GoSNMPServer

forked from wwhai/GoSNMPServer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 752 Bytes
一键复制 编辑 原始数据 按行查看 历史
lilinzhe 提交于 2020-02-15 16:25 +08:00 . Test: add more tests
language: go
go:
- "1.13"
# $TRAVIS_GOARCH hack - see https://github.com/travis-ci/travis-ci/issues/6126
env:
matrix:
- TRAVIS_GOARCH=amd64
- TRAVIS_GOARCH=386
before_install:
- export GOARCH=$TRAVIS_GOARCH
- sudo apt-get -y install snmp
- export CODECOV_TOKEN="81d96f00-26df-40dd-8286-58b96fd92963"
install:
- go get -u github.com/slayercat/gosnmp
- go get github.com/stretchr/testify/assert
- go get -u golang.org/x/tools/cmd/goimports
script:
- go build .
- go test -coverpkg ./... -v ./...
-coverprofile=tCoverage1.txt -covermode=atomic
- cat tCoverage*.txt > coverage.txt
- go build github.com/slayercat/GoSNMPServer/cmd/gosnmpserver
after_success:
- bash <(curl -s https://codecov.io/bash)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fensnote/GoSNMPServer.git
git@gitee.com:fensnote/GoSNMPServer.git
fensnote
GoSNMPServer
GoSNMPServer
master

搜索帮助