aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-01 11:24:59 -0400
committerMatthew Heon <matthew.heon@gmail.com>2017-11-01 11:24:59 -0400
commita031b83a09a8628435317a03f199cdc18b78262f (patch)
treebc017a96769ce6de33745b8b0b1304ccf38e9df0 /.travis.yml
parent2b74391cd5281f6fdf391ff8ad50fd1490f6bf89 (diff)
downloadpodman-a031b83a09a8628435317a03f199cdc18b78262f.tar.gz
podman-a031b83a09a8628435317a03f199cdc18b78262f.tar.bz2
podman-a031b83a09a8628435317a03f199cdc18b78262f.zip
Initial checkin from CRI-O repo
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml62
1 files changed, 62 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..be326c1ae
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,62 @@
+language: go
+
+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 gettext
+
+install:
+ - make install.tools
+ - OSTREE_VERSION=v2017.9
+ - git clone https://github.com/ostreedev/ostree ${TRAVIS_BUILD_DIR}/ostree
+ - pushd ${TRAVIS_BUILD_DIR}/ostree
+ - git checkout $OSTREE_VERSION
+ - ./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}}
+
+jobs:
+ include:
+ - stage: Build and Verify
+ script:
+ - make .gitvalidation
+ - make gofmt
+ - make lint
+ - make testunit
+ - make docs
+ - make
+ go: 1.8.x
+ - stage: Build and Verify
+ script:
+ - make .gitvalidation
+ - make gofmt
+ - make lint
+ - make testunit
+ - make docs
+ - make
+ go: 1.9.x
+ - script:
+ - make .gitvalidation
+ - make gofmt
+ - make lint
+ - make testunit
+ - make docs
+ - make
+ go: tip
+ - stage: Integration Test
+ script:
+ - make integration
+ go: 1.8.x
+
+notifications:
+ irc: "chat.freenode.net#cri-o"