fixup! Migrate from Travis to Papr (formerly redhat-ci)
Put travis configuration back as requested. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
9d33eed97a
commit
41ebb36e9d
1 changed files with 40 additions and 0 deletions
40
.travis.yml
Normal file
40
.travis.yml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
language: go
|
||||||
|
go:
|
||||||
|
- 1.6.x
|
||||||
|
- 1.7.x
|
||||||
|
- 1.8.x
|
||||||
|
- tip
|
||||||
|
|
||||||
|
sudo: required
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- sudo apt-get -qq update
|
||||||
|
- sudo apt-get -qq install btrfs-tools libdevmapper-dev libgpgme11-dev libapparmor-dev libseccomp-dev
|
||||||
|
- sudo apt-get -qq install autoconf automake bison e2fslibs-dev libfuse-dev libtool liblzma-dev
|
||||||
|
|
||||||
|
install:
|
||||||
|
- make install.tools
|
||||||
|
- 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
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- export PATH=$HOME/gopath/bin:$PATH
|
||||||
|
- export LD_LIBRARY_PATH=/usr/local/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||||
|
|
||||||
|
script:
|
||||||
|
- make .gitvalidation
|
||||||
|
- make gofmt
|
||||||
|
- make lint
|
||||||
|
- make integration
|
||||||
|
- make docs
|
||||||
|
- make
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
irc: "chat.freenode.net#cri-o"
|
Loading…
Add table
Add a link
Reference in a new issue