Add Debian sid Clang build pass (#4735)

This commit is contained in:
Javier Serrano Polo authored and GitHub committed 2018-12-27 20:15:42 +01:00
1 parent dd6d4a552b
commit 4d2e89bee2
2 files changed
+9 -1

No files matched your search

+2
View File
@@ -22,6 +22,8 @@ matrix:
env: QT5=True
- env: TARGET_OS=debian-sid
- env: TARGET_OS=debian-sid TARGET_ARCH=i386
- compiler: clang
env: TARGET_OS=debian-sid
before_install:
- . ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.before_install.sh
install:
+7 -1
View File
@@ -13,6 +13,11 @@ then
sh -c "echo CCACHEDIR=$HOME/.ccache >> /etc/pbuilderrc"
fi
if [ "$CC" = clang ]
then
sudo sh -c "echo EXTRAPACKAGES=clang >> /etc/pbuilderrc"
fi
if [ ! -e "$BASETGZ.stamp" ]
then
mkdir -p "$HOME/pbuilder-bases"
@@ -29,4 +34,5 @@ fi
DIR="$PWD"
cd ..
dpkg-source -b "$DIR"
env -i sudo pbuilder --build --debbuildopts "--jobs=auto" --basetgz "$BASETGZ" ./*.dsc
env -i CC="$CC" CXX="$CXX" sudo pbuilder --build --debbuildopts "--jobs=auto" \
--basetgz "$BASETGZ" ./*.dsc