2016-12-24 06:37:56 +08:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.7.x
|
2017-02-20 20:15:58 +08:00
|
|
|
- 1.8.x
|
|
|
|
- tip
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2016-12-24 06:37:56 +08:00
|
|
|
|
2017-03-23 07:12:55 +08:00
|
|
|
go_import_path: github.com/opencontainers/runc
|
|
|
|
|
2016-12-24 06:37:56 +08:00
|
|
|
# `make ci` uses Docker.
|
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- BUILDTAGS="seccomp apparmor selinux ambient"
|
|
|
|
|
|
|
|
before_install:
|
2017-05-13 01:31:01 +08:00
|
|
|
- echo "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
|
2016-12-24 06:37:56 +08:00
|
|
|
- sudo apt-get -qq update
|
2017-05-13 01:31:01 +08:00
|
|
|
- sudo apt-get install -y libapparmor-dev libseccomp-dev/trusty-backports
|
2016-12-24 06:37:56 +08:00
|
|
|
- go get -u github.com/golang/lint/golint
|
|
|
|
- go get -u github.com/vbatts/git-validation
|
2017-03-22 02:48:39 +08:00
|
|
|
- env | grep TRAVIS_
|
2016-12-24 06:37:56 +08:00
|
|
|
|
|
|
|
script:
|
2017-03-22 02:48:39 +08:00
|
|
|
- git-validation -run DCO,short-subject -v
|
2016-12-24 06:37:56 +08:00
|
|
|
- make BUILDTAGS="${BUILDTAGS}"
|
2017-08-15 01:26:38 +08:00
|
|
|
- make BUILDTAGS="${BUILDTAGS}" clean ci
|