[lxc-devel] [lxc/master] travis: test VPATH builds

GreatFruitOmsk on Github lxc-bot at linuxcontainers.org
Fri May 27 12:51:48 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 541 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160527/f6d61733/attachment.bin>
-------------- next part --------------
From 16993891937a1b9fad92619be817db74560fb556 Mon Sep 17 00:00:00 2001
From: Aleksandr Mezin <mezin.alexander at gmail.com>
Date: Fri, 27 May 2016 18:47:23 +0600
Subject: [PATCH] travis: test VPATH builds

It looks like VPATH (split source and build directories) builds
are frequently broken. So let's test them on travis-ci.

Personally I use VPATH build in my deployment scripts.

Signed-off-by: Aleksandr Mezin <mezin.alexander at gmail.com>
---
 .travis.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 974130d..846e0fc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,7 +6,12 @@ before_install:
  - sudo add-apt-repository ppa:ubuntu-lxc/daily -y
  - sudo apt-get update -qq
  - sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev python3-dev docbook2x libgnutls-dev liblua5.2-dev libselinux1-dev libcgmanager-dev
-script: ./autogen.sh && ./configure --enable-tests && make -j4
+script:
+ - ./autogen.sh
+ - mkdir build
+ - cd build
+ - ./configure --enable-tests ..
+ - make -j4
 notifications:
   email:
     recipients:


More information about the lxc-devel mailing list