mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -05:00
parent
20d675f1c4
commit
cc6590d362
@ -9,7 +9,6 @@ before_script:
|
||||
- uname -a
|
||||
- sudo ntpdate -u time.google.com
|
||||
- date
|
||||
- sudo setcap cap_net_admin=eip ${GOROOT}/bin/go
|
||||
script:
|
||||
- go test -p 1 -tags json -v v2ray.com/core/...
|
||||
after_success:
|
||||
|
@ -15,7 +15,6 @@ build:
|
||||
- tar -C /usr/local -xzf golang.tar.gz
|
||||
- export PATH=$PATH:/usr/local/go/bin
|
||||
- export GOPATH=/v2ray
|
||||
- sudo setcap cap_net_admin=eip /usr/loca/go/bin/go
|
||||
- go get v2ray.com/core/...
|
||||
- go get v2ray.com/ext/...
|
||||
- go test -p 1 -v v2ray.com/core/...
|
||||
|
@ -12,6 +12,8 @@ import (
|
||||
)
|
||||
|
||||
func TestSockOptMark(t *testing.T) {
|
||||
t.Skip("requires CAP_NET_ADMIN")
|
||||
|
||||
tcpServer := tcp.Server{
|
||||
MsgProcessor: func(b []byte) []byte {
|
||||
return b
|
||||
|
Loading…
Reference in New Issue
Block a user