2014-10-31 18:48:25 +00:00
|
|
|
language: go
|
2018-10-29 22:46:02 +00:00
|
|
|
go:
|
2019-03-12 20:09:21 +00:00
|
|
|
- "1.12.x"
|
2020-07-30 08:58:12 +00:00
|
|
|
- "1.13.x"
|
|
|
|
- "1.14.x"
|
2015-12-18 19:41:21 +00:00
|
|
|
before_script:
|
2015-12-18 20:14:58 +00:00
|
|
|
# make sure we keep path in tact when we sudo
|
2015-12-18 19:41:21 +00:00
|
|
|
- sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
|
2015-12-18 20:14:58 +00:00
|
|
|
# modprobe ip_gre or else the first gre device can't be deleted
|
|
|
|
- sudo modprobe ip_gre
|
2017-04-04 01:52:56 +00:00
|
|
|
# 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
|
2018-04-09 20:40:06 +00:00
|
|
|
- sudo modprobe sch_hfsc
|
2020-09-30 13:26:34 +00:00
|
|
|
- sudo modprobe sch_sfq
|
2014-10-31 19:27:21 +00:00
|
|
|
install:
|
2018-09-15 14:33:14 +00:00
|
|
|
- go get -v -t ./...
|
2019-03-12 20:08:00 +00:00
|
|
|
go_import_path: github.com/vishvananda/netlink
|