2019-01-18 01:50:10 +00:00
|
|
|
language: go
|
2022-04-18 17:00:37 +00:00
|
|
|
go:
|
|
|
|
- "1.12.x"
|
|
|
|
- "1.13.x"
|
|
|
|
- "1.14.x"
|
2019-01-18 01:50:10 +00:00
|
|
|
before_script:
|
|
|
|
# make sure we keep path in tact when we sudo
|
|
|
|
- sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
|
|
|
|
# modprobe ip_gre or else the first gre device can't be deleted
|
|
|
|
- sudo modprobe ip_gre
|
|
|
|
# modprobe nf_conntrack for the conntrack testing
|
|
|
|
- sudo modprobe nf_conntrack
|
|
|
|
- sudo modprobe nf_conntrack_netlink
|
|
|
|
- sudo modprobe nf_conntrack_ipv4
|
|
|
|
- sudo modprobe nf_conntrack_ipv6
|
2022-04-18 17:00:37 +00:00
|
|
|
- sudo modprobe sch_hfsc
|
|
|
|
- sudo modprobe sch_sfq
|
2019-01-18 01:50:10 +00:00
|
|
|
install:
|
2022-04-18 17:00:37 +00:00
|
|
|
- go get -v -t ./...
|
|
|
|
go_import_path: github.com/vishvananda/netlink
|