language: go
go:
  - 1.7.x
  - 1.8.x
  - tip

matrix:
  allow_failures:
    - go: tip

go_import_path: github.com/opencontainers/runc

# `make ci` uses Docker.
sudo: required
services:
  - docker

env:
  global:
    - BUILDTAGS="seccomp apparmor selinux ambient"

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libseccomp-dev libapparmor-dev
  - go get -u github.com/golang/lint/golint
  - go get -u github.com/vbatts/git-validation
  - env | grep TRAVIS_

script:
  - git-validation -run DCO,short-subject -v
  - make BUILDTAGS="${BUILDTAGS}"
  - make BUILDTAGS="${BUILDTAGS}" clean ci

language: go
go:
  - 1.7.x
  - 1.8.x
  - tip

matrix:
  allow_failures:
    - go: tip

go_import_path: github.com/opencontainers/runc

# `make ci` uses Docker.
sudo: required
services:
  - docker

env:
  global:
    - BUILDTAGS="seccomp apparmor selinux ambient"

before_install:
  - echo "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
  - sudo apt-get -qq update
  - sudo apt-get install -y libapparmor-dev libseccomp-dev/trusty-backports
  - go get -u github.com/golang/lint/golint
  - go get -u github.com/vbatts/git-validation
  - env | grep TRAVIS_

script:
  - git-validation -run DCO,short-subject -v
  - make BUILDTAGS="${BUILDTAGS}"
  - make BUILDTAGS="${BUILDTAGS}" clean ci

Update Travis config to use trusty-backports libseccomp
Update Travis config to use trusty-backports libseccomp

Signed-off-by: Matthew Heon <b9ec3270cf4e91ac388bb1d81bcc7fb682087ac3@redhat.com>
