summaryrefslogtreecommitdiff
path: root/vendor/github.com/vishvananda/netlink/.travis.yml
blob: 80219c69d6f31bc1b927a0825bf8af7089b263cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: go
go:
  - "1.12.x"
  - "1.13.x"
  - "1.14.x"
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
  - sudo modprobe sch_hfsc
  - sudo modprobe sch_sfq
install:
  - go get -v -t ./...
go_import_path: github.com/vishvananda/netlink