blob: 84f1f4945ab2b95da8027f28cff02e18e9ac1609 [file] [log] [blame]
Naveen Sampath04696f72022-06-13 15:19:14 +05301language: go
2go:
3 - 1.11.x
4 - 1.12.x
5 - 1.13.x
6 - master
7
8addons:
9 apt:
10 packages:
11 libpcap-dev
12
13# use modules except for older versions (see below)
14install: true
15
16env:
17 - GO111MODULE=on
18
19script: ./.travis.script.sh
20
21matrix:
22 fast_finish: true
23 allow_failures:
24 - go: master
25
26jobs:
27 include:
28 - go: 1.5.x
29 install: ./.travis.install.sh
30 - go: 1.6.x
31 install: ./.travis.install.sh
32 - go: 1.7.x
33 install: ./.travis.install.sh
34 - go: 1.8.x
35 install: ./.travis.install.sh
36 - go: 1.9.x
37 install: ./.travis.install.sh
38 - go: 1.10.x
39 install: ./.travis.install.sh
40 - os: osx
41 go: 1.x
42# windows doesn't work on travis (package installation just hangs and then errors out)
43# - os: windows
44# go: 1.x
45# # We don't need nmap - but that's the only way to get npcap:
46# before_install: choco install npcap --version 0.86 -y
47 - stage: style
48 name: "fmt/vet/lint"
49 go: 1.x
50 script:
51 - ./.travis.gofmt.sh
52 - ./.travis.govet.sh
53 - ./.travis.golint.sh
54
55stages:
56 - style
57 - test