github.com/aporeto-inc/trireme-lib@v10.358.0+incompatible/.travis.yml (about)

     1  language: go
     2  sudo: required
     3  dist: bionic
     4  
     5  go_import_path: go.aporeto.io/trireme-lib
     6  
     7  matrix:
     8    include:
     9      - go: "1.13.x"
    10      - go: "1.14.x"
    11      - go: master
    12    allow_failures:
    13      - go: master
    14    fast_finish: true
    15  
    16  addons:
    17    apt:
    18      packages:
    19        - libnetfilter-queue-dev
    20        - libnetfilter-log-dev
    21        - iptables
    22        - ipset
    23        - wine-stable
    24  
    25  env:
    26    global:
    27      - TOOLS_CMD=golang.org/x/tools/cmd
    28      - PATH=$GOROOT/bin:$PATH
    29      - SUDO_PERMITTED=1
    30  
    31  before_install:
    32    - GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.21.0
    33    - GO111MODULE=off go get github.com/golang/dep/cmd/dep
    34    - sudo apt-get -y install wine32
    35  
    36  install:
    37    - dep ensure
    38    - ./fix_bpf
    39    - dep status || true
    40  
    41  script:
    42    - GO111MODULE=off ./.test.sh
    43    - golangci-lint run --deadline=10m --disable-all --exclude-use-default=false --enable=errcheck --enable=goimports --enable=ineffassign --enable=govet --enable=golint --enable=unused --enable=structcheck --enable=varcheck --enable=deadcode --enable=unconvert --enable=goconst --enable=gosimple --enable=misspell --enable=staticcheck --enable=unparam --enable=prealloc --enable=nakedret --enable=gofmt --enable=typecheck --skip-dirs=vendor/github.com/iovisor ./...
    44    - GO111MODULE=off ./.lint.windows.sh
    45    - GO111MODULE=off ./.test.windows.sh