k3s/vendor/github.com/containerd/cri/.travis.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

2019-01-12 04:58:27 +00:00
git:
depth: 150
language: go
2019-09-27 21:51:53 +00:00
go:
- 1.12.x
- tip
matrix:
allow_failures:
- go: tip
2019-01-12 04:58:27 +00:00
sudo: required
services:
2019-09-27 21:51:53 +00:00
- docker
2019-01-12 04:58:27 +00:00
cache:
2019-09-27 21:51:53 +00:00
directories:
- "${HOME}/google-cloud-sdk/"
2019-01-12 04:58:27 +00:00
before_install:
2019-09-27 21:51:53 +00:00
# libseccomp in trusty is not new enough, need backports version.
- sudo sh -c "echo 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse' > /etc/apt/sources.list.d/backports.list"
- sudo apt-get update
2019-01-12 04:58:27 +00:00
install:
2019-09-27 21:51:53 +00:00
- sudo apt-get install btrfs-tools
- sudo apt-get install libseccomp2/trusty-backports
- sudo apt-get install libseccomp-dev/trusty-backports
- sudo apt-get install socat
2019-01-12 04:58:27 +00:00
before_script:
2019-09-27 21:51:53 +00:00
- export PATH=$HOME/gopath/bin:$PATH
script:
- make .install.gitvalidation
- make .gitvalidation
- make binaries
- make install.deps
- make containerd
- sudo PATH=$PATH GOPATH=$GOPATH make install-containerd
- make test
- make test-integration
- make test-cri
after_script:
# Abuse travis to preserve the log.
- cat /tmp/test-integration/containerd.log
- cat /tmp/test-cri/containerd.log