summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-07-12 15:48:02 +0200
committerThomas Haller <thaller@redhat.com>2018-07-17 17:46:39 +0200
commitb4e6cf60f30e95e4220e57139f7daeeff4e83cff (patch)
treed17ebf011500b5a67e4605c06350f92eb1542e71 /.travis.yml
parenta75ab799e4f6b9c5d6f298ad7c1899ae21726a48 (diff)
downloadNetworkManager-b4e6cf60f30e95e4220e57139f7daeeff4e83cff.tar.gz
travis: do out-of-tree build in travis
When developing, we usually do in-tree-builds, so that case is already better tested in every-day usage. It makes sense for travis to test the less-well-tested case: the out-of-tree build with autotools.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index b5f8583548..bba6844210 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -104,15 +104,19 @@ script:
- |
if test "$BUILD_TYPE" == 'autotools'; then
git clean -fdx &&
- ./autogen.sh --prefix="$PWD/INST" --with-systemd-logind=no --enable-more-warnings=no --enable-ifcfg-rh --enable-config-plugin-ibft --enable-ifupdown --enable-tests &&
+ NOCONFIGURE=1 ./autogen.sh &&
+ mkdir ./build &&
+ pushd ./build &&
+ ../configure --prefix="$PWD/INST" --with-systemd-logind=no --enable-more-warnings=no --enable-ifcfg-rh --enable-config-plugin-ibft --enable-ifupdown --enable-tests &&
make -j4 &&
if [ "$CC" == gcc ]; then
sudo locale-gen pl_PL.UTF-8 &&
sudo make install &&
- NM_TEST_CLIENT_CHECK_L10N=1 ./contrib/travis/travis-check.sh
+ NM_TEST_CLIENT_CHECK_L10N=1 ../contrib/travis/travis-check.sh
else
- ./contrib/travis/travis-check.sh
- fi
+ ../contrib/travis/travis-check.sh
+ fi &&
+ popd
fi
env: