Commit cd10c922 authored by Steven Allen's avatar Steven Allen

chore: switch to circleci

Our CircleCI scripts check builds on a ton of platforms and have better linting.
parent 01fb8899
version: 2.1
orbs:
ci-go: ipfs/ci-go@0.2
workflows:
version: 2
test:
jobs:
- ci-go/build
- ci-go/lint
- ci-go/test
language: go
go:
- 1.13.x
os:
- linux
- osx
- windows
jobs:
fast_finish: true
script:
- go test -v -race .
......@@ -20,6 +20,9 @@ func TestRoute(t *testing.T) {
var localAddr net.IP
var hasV6 bool
addrs, err := ifs[0].Addrs()
if err != nil {
t.Fatal(err)
}
for _, addr := range addrs {
if strings.HasPrefix(addr.Network(), "ip") {
localAddr, _, _ = net.ParseCIDR(addr.String())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment