Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-netroute
Commits
af7ec630
Unverified
Commit
af7ec630
authored
Mar 30, 2020
by
Steven Allen
Committed by
GitHub
Mar 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "chore: switch to circleci"
parent
3d626787
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
+15
-14
.circleci/config.yml
.circleci/config.yml
+0
-11
.travis.yml
.travis.yml
+15
-0
netroute_test.go
netroute_test.go
+0
-3
No files found.
.circleci/config.yml
deleted
100644 → 0
View file @
3d626787
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
.travis.yml
0 → 100644
View file @
af7ec630
language
:
go
go
:
-
1.13.x
os
:
-
linux
-
osx
-
windows
jobs
:
fast_finish
:
true
script
:
-
go test -v -race .
netroute_test.go
View file @
af7ec630
...
...
@@ -20,9 +20,6 @@ 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
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment