2017-11-01 15:24:59 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
sudo: required
|
2018-05-02 11:21:50 +00:00
|
|
|
dist: trusty
|
2017-11-01 15:24:59 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get -qq update
|
2018-04-25 18:26:52 +00:00
|
|
|
- sudo apt-get -qq install btrfs-tools libdevmapper-dev libgpgme11-dev libapparmor-dev
|
2018-05-15 01:01:08 +00:00
|
|
|
- sudo apt-get -qq install autoconf automake bison e2fslibs-dev libfuse-dev libtool liblzma-dev gettext python3-setuptools
|
2018-04-28 16:45:51 +00:00
|
|
|
- sudo make install.libseccomp.sudo
|
2017-11-01 15:24:59 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- make install.tools
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- export PATH=$HOME/gopath/bin:$PATH
|
|
|
|
- export LD_LIBRARY_PATH=/usr/local/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
|
2017-11-03 19:37:22 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- TRAVIS=1
|
|
|
|
|
2017-11-01 15:24:59 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: Build and Verify
|
|
|
|
script:
|
|
|
|
- make gofmt
|
|
|
|
- make lint
|
2018-03-04 21:36:06 +00:00
|
|
|
go: 1.9.x
|
|
|
|
- script:
|
2018-02-27 18:25:25 +00:00
|
|
|
- make testunit
|
2017-11-01 15:24:59 +00:00
|
|
|
go: 1.8.x
|
|
|
|
- stage: Build and Verify
|
|
|
|
script:
|
2018-02-27 18:25:25 +00:00
|
|
|
- make testunit
|
2017-11-01 15:24:59 +00:00
|
|
|
go: 1.9.x
|
|
|
|
- stage: Integration Test
|
|
|
|
script:
|
2017-11-02 19:31:21 +00:00
|
|
|
- make all
|
2017-11-01 15:24:59 +00:00
|
|
|
- make integration
|
|
|
|
go: 1.8.x
|
|
|
|
|
2018-02-28 21:05:37 +00:00
|
|
|
notifications:
|
|
|
|
irc: "chat.freenode.net#podman"
|