aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-02 19:51:40 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-18 14:25:49 +0200
commit6c1a8c954e7bdf05d6369647178b9f2d2447c89a (patch)
tree1fd5b4c86c199bbbfb2ce93ceea1567d5d13ae38 /.build.yml
parent1af4710bdd6289b0393d76f069226fc4a6cc5bd3 (diff)
downloadayatana-indicator-messages-6c1a8c954e7bdf05d6369647178b9f2d2447c89a.tar.gz
ayatana-indicator-messages-6c1a8c954e7bdf05d6369647178b9f2d2447c89a.tar.bz2
ayatana-indicator-messages-6c1a8c954e7bdf05d6369647178b9f2d2447c89a.zip
.build.yml: Also run unit tests during CI builds against Ubuntu.
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 203b21e..dc8c0d6 100644
--- a/.build.yml
+++ b/.build.yml
@@ -103,7 +103,7 @@ build_scripts:
- scan-build $CHECKERS ./configure --prefix=/usr --disable-tests --enable-gtk-doc --enable-compile-warnings=maximum
- fi
- elif [ -e ./CMakeLists.txt ]; then
- - if [ ${DISTRO_NAME} == "debian" ];then
+ - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then
- scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON
- else
- scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON
@@ -129,7 +129,7 @@ build_scripts:
after_scripts:
- if [ ${BUILD_TYPE} == "scripts" ];then
- XVFB_RUN="$(which xvfb-run || true)"
- - if [ ${DISTRO_NAME} == "debian" ];then
+ - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];then
- if [ -e ./autogen.sh ]; then
- ${XVFB_RUN} make check
- elif [ -e ./CMakeLists.txt ]; then