2016-07-19 18:29:32 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2017-02-20 13:33:34 +00:00
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
2016-09-28 19:59:12 +00:00
|
|
|
- tip
|
2016-07-19 18:29:32 +00:00
|
|
|
|
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-07-13 17:13:36 +00:00
|
|
|
- sudo apt-get -qq install autoconf automake bison e2fslibs-dev libfuse-dev libtool liblzma-dev
|
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-07-13 17:13:36 +00:00
|
|
|
- git clone https://github.com/ostreedev/ostree ${TRAVIS_BUILD_DIR}/ostree
|
|
|
|
- pushd ${TRAVIS_BUILD_DIR}/ostree
|
|
|
|
- ./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
|
|
|
|
|
|
|
script:
|
2016-09-19 06:28:34 +00:00
|
|
|
- make .gitvalidation
|
2016-12-14 11:31:24 +00:00
|
|
|
- make gofmt
|
2016-09-19 06:28:34 +00:00
|
|
|
- make lint
|
2016-09-21 21:49:15 +00:00
|
|
|
- make integration
|
2016-09-28 21:55:50 +00:00
|
|
|
- make docs
|
2017-03-02 04:46:46 +00:00
|
|
|
- make
|
2017-02-14 05:14:09 +00:00
|
|
|
|
|
|
|
notifications:
|
2017-06-16 23:27:03 +00:00
|
|
|
irc: "chat.freenode.net#cri-o"
|