2016-07-19 18:29:32 +00:00
|
|
|
language: go
|
|
|
|
|
2016-09-19 06:28:34 +00:00
|
|
|
sudo: required
|
|
|
|
|
2016-09-21 21:49:15 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2016-10-18 14:48:33 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get -qq update
|
2017-03-02 04:46:46 +00:00
|
|
|
- sudo apt-get -qq install btrfs-tools libdevmapper-dev libgpgme11-dev libapparmor-dev libseccomp-dev
|
2017-09-19 17:45:08 +00:00
|
|
|
- sudo apt-get -qq install autoconf automake bison e2fslibs-dev libfuse-dev libtool liblzma-dev gettext
|
2016-10-18 14:48:33 +00:00
|
|
|
|
2016-09-28 19:54:04 +00:00
|
|
|
install:
|
2016-09-19 06:28:34 +00:00
|
|
|
- make install.tools
|
2017-08-02 18:59:10 +00:00
|
|
|
- OSTREE_VERSION=v2017.9
|
2017-07-13 17:13:36 +00:00
|
|
|
- git clone https://github.com/ostreedev/ostree ${TRAVIS_BUILD_DIR}/ostree
|
|
|
|
- pushd ${TRAVIS_BUILD_DIR}/ostree
|
2017-08-02 18:59:10 +00:00
|
|
|
- git checkout $OSTREE_VERSION
|
2017-07-13 17:13:36 +00:00
|
|
|
- ./autogen.sh --prefix=/usr/local
|
|
|
|
- make all
|
|
|
|
- sudo make install
|
|
|
|
- popd
|
2016-07-19 18:29:32 +00:00
|
|
|
|
2016-09-28 19:54:04 +00:00
|
|
|
before_script:
|
|
|
|
- export PATH=$HOME/gopath/bin:$PATH
|
2017-07-13 17:13:36 +00:00
|
|
|
- export LD_LIBRARY_PATH=/usr/local/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
2016-07-19 18:29:32 +00:00
|
|
|
|
2017-08-30 22:14:25 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: Build and Verify
|
|
|
|
script:
|
|
|
|
- make .gitvalidation
|
|
|
|
- make gofmt
|
|
|
|
- make lint
|
2017-11-13 15:26:10 +00:00
|
|
|
- make verify
|
2017-09-12 10:17:44 +00:00
|
|
|
- make testunit
|
2017-08-30 22:14:25 +00:00
|
|
|
- make docs
|
|
|
|
- make
|
|
|
|
go: 1.8.x
|
2017-09-12 10:17:44 +00:00
|
|
|
- stage: Build and Verify
|
|
|
|
script:
|
|
|
|
- make .gitvalidation
|
|
|
|
- make gofmt
|
|
|
|
- make lint
|
2017-11-13 15:26:10 +00:00
|
|
|
- make verify
|
2017-09-12 10:17:44 +00:00
|
|
|
- make testunit
|
|
|
|
- make docs
|
|
|
|
- make
|
|
|
|
go: 1.9.x
|
2017-08-30 22:14:25 +00:00
|
|
|
- script:
|
|
|
|
- make .gitvalidation
|
2017-11-13 15:26:10 +00:00
|
|
|
- make verify
|
2017-09-12 10:17:44 +00:00
|
|
|
- make testunit
|
2017-08-30 22:14:25 +00:00
|
|
|
- make docs
|
|
|
|
- make
|
|
|
|
go: tip
|
|
|
|
- stage: Integration Test
|
|
|
|
script:
|
|
|
|
- make integration
|
|
|
|
go: 1.8.x
|
2017-02-14 05:14:09 +00:00
|
|
|
|
|
|
|
notifications:
|
2017-06-16 23:27:03 +00:00
|
|
|
irc: "chat.freenode.net#cri-o"
|