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
|
2017-11-08 22:42:51 +08:00
|
|
|
- 1.9.x
|
2018-02-04 08:15:39 +08:00
|
|
|
- 1.10.x
|
2017-02-20 20:15:58 +08:00
|
|
|
- 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-12-11 18:19:13 +08:00
|
|
|
- sudo apt-get install -y 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}"
|
2018-06-16 08:29:52 +08:00
|
|
|
- make BUILDTAGS="${BUILDTAGS}" clean ci cross
|