k3s/vendor/github.com/opencontainers/runc/.travis.yml

42 lines
817 B
YAML
Raw Normal View History

2019-04-07 17:07:55 +00:00
dist: xenial
2019-01-12 04:58:27 +00:00
language: go
go:
- 1.9.x
- 1.10.x
- 1.11.x
- tip
matrix:
2019-04-07 17:07:55 +00:00
include:
- go: 1.11.x
env:
- RUNC_USE_SYSTEMD=1
script:
- make BUILDTAGS="${BUILDTAGS}" all
- sudo PATH="$PATH" make localintegration RUNC_USE_SYSTEMD=1
2019-01-12 04:58:27 +00:00
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
2019-04-07 17:07:55 +00:00
- sudo apt-get install -y libseccomp-dev
2019-01-12 04:58:27 +00:00
- go get -u golang.org/x/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 cross