aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/seccomp/libseccomp-golang/.travis.yml
blob: feef144d130e72b0363085dc8cfa810300f1c0cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Travis CI configuration for libseccomp-golang

# https://docs.travis-ci.com/user/reference/bionic
# https://wiki.ubuntu.com/Releases

dist: bionic
sudo: false

notifications:
  email:
    on_success: always
    on_failure: always

arch:
  - amd64

os:
  - linux

language: go

addons:
  apt:
    packages:
      - build-essential
      # TODO: use the main libseccomp git repo instead of a distro package
      - libseccomp2
      - libseccomp-dev

install:
  - go get -u golang.org/x/lint/golint

# run all of the tests independently, fail if any of the tests error
script:
  - make check-syntax
  - make lint
  - make check