2019-02-17 00:12:15 +08:00
|
|
|
dist: xenial
|
2016-12-24 06:37:56 +08:00
|
|
|
language: go
|
|
|
|
go:
|
2018-10-20 17:54:38 +08:00
|
|
|
- 1.11.x
|
2019-03-28 20:36:09 +08:00
|
|
|
- 1.12.x
|
2017-02-20 20:15:58 +08:00
|
|
|
- tip
|
|
|
|
|
|
|
|
matrix:
|
2019-03-15 09:48:56 +08:00
|
|
|
include:
|
2019-03-28 20:36:09 +08:00
|
|
|
- go: 1.12.x
|
2019-03-15 09:48:56 +08:00
|
|
|
env:
|
|
|
|
- RUNC_USE_SYSTEMD=1
|
|
|
|
script:
|
|
|
|
- make BUILDTAGS="${BUILDTAGS}" all
|
|
|
|
- sudo PATH="$PATH" make localintegration RUNC_USE_SYSTEMD=1
|
2017-02-20 20:15:58 +08:00
|
|
|
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:
|
|
|
|
- sudo apt-get -qq update
|
2019-02-17 00:12:15 +08:00
|
|
|
- sudo apt-get install -y libseccomp-dev
|
2018-10-12 22:22:35 +08:00
|
|
|
- go get -u golang.org/x/lint/golint
|
2016-12-24 06:37:56 +08:00
|
|
|
- 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
|