添加CI文件

pull/2/head
q191201771 6 years ago
parent be322e4476
commit 6571e928a5

@ -0,0 +1,14 @@
language: go
go:
- 1.8.x
- tip
before_install:
- go get -t -v ./...
script:
- ./test.sh
after_success:
- bash <(curl -s https://codecov.io/bash)

@ -0,0 +1,13 @@
#### 工程目录说明
```
pkg/ ......源码包
|-- assert/ ......断言
|-- bele/ ......大小端操作
|-- bininfo/ ......可执行文件版本等信息
|-- connstat/ ......连接超时信息
|-- connstat2/ ......
|-- errors/ ......错误处理
|-- log/ ......日志库
|-- unique/ ......对象唯一ID
```

@ -3,7 +3,7 @@ package bele
import (
"bytes"
"encoding/binary"
"github.com/q191201771/nezha/assert"
"github.com/q191201771/nezha/pkg/assert"
"testing"
)

@ -1,7 +1,7 @@
package connstat2
import (
"github.com/q191201771/nezha/assert"
"github.com/q191201771/nezha/pkg/assert"
"net"
"testing"
"time"

@ -1,7 +1,7 @@
package log
import (
"github.com/q191201771/nezha/assert"
"github.com/q191201771/nezha/pkg/assert"
"testing"
)

@ -1,7 +1,7 @@
package unique
import (
"github.com/q191201771/nezha/assert"
"github.com/q191201771/nezha/pkg/assert"
"sync"
"testing"
)

Loading…
Cancel
Save