mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 20:45:32 +00:00
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.
This commit is contained in:
parent
a75ab799e4
commit
b4e6cf60f3
12
.travis.yml
12
.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:
|
||||
|
|
Loading…
Reference in a new issue