aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-10-18 03:11:47 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-21 22:33:52 +0200
commitaa1d7ecfe93bbb0424223a6659c31669c5a5a1c6 (patch)
tree3963d0cc13ab0342ac409597a4bba45fd2aaf506 /.build.yml
parentb2beaa3431ac84614ae45f58f2771fb6b97f6201 (diff)
downloadayatana-indicator-messages-aa1d7ecfe93bbb0424223a6659c31669c5a5a1c6.tar.gz
ayatana-indicator-messages-aa1d7ecfe93bbb0424223a6659c31669c5a5a1c6.tar.bz2
ayatana-indicator-messages-aa1d7ecfe93bbb0424223a6659c31669c5a5a1c6.zip
.build.yml: Enable tests for Ubuntu builds
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 203b21e..c98949b 100644
--- a/.build.yml
+++ b/.build.yml
@@ -58,6 +58,9 @@ requires:
- libgirepository1.0-dev
- valac
- systemd
+ - libgtest-dev
+ - libdbustest1-dev
+ - python3-dbusmock
variables:
- 'CHECKERS="
@@ -103,7 +106,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 +132,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