language: go
go:
  - 1.11.x
  - master
addons:
  apt:
    packages:
    - libpcap0.8
    - libpcap-dev

install:
  - go get
script:
  - go test -v
sudo: false

language: go
go:
  - 1.11.x
  - master
env:
  - GO111MODULE=on
addons:
  apt:
    packages:
    - libpcap0.8
    - libpcap-dev

install:
  - go get
script:
  - go test -v
sudo: false

Add environment variable GO111MODULE to build code under GOPATH
Add environment variable GO111MODULE to build code under GOPATH
