diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-04-21 12:41:15 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-04-21 16:55:34 +0200 |
commit | 656b45e601bd53021103397a2795d7bb102407e7 (patch) | |
tree | 8ecae5d33136905ea3cbbb4fc2e8357fa29a8fe2 /.build.yml | |
parent | f1eeeb957c1023e379f2a98f3474a620e5228a7f (diff) | |
download | ayatana-ido-656b45e601bd53021103397a2795d7bb102407e7.tar.gz ayatana-ido-656b45e601bd53021103397a2795d7bb102407e7.tar.bz2 ayatana-ido-656b45e601bd53021103397a2795d7bb102407e7.zip |
.build.yml: Run unit tests in xvfb-run environment (if xvfb-run is $PATH).
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -41,6 +41,8 @@ requires: - valac - lcov - gcovr + - xauth + - xvfb ubuntu: - autopoint @@ -111,11 +113,12 @@ build_scripts: after_scripts: - if [ ${BUILD_TYPE} == "scripts" ];then + - XVFB_RUN=$(which xvfb-run) - if [ ${DISTRO_NAME} == "debian" ];then - if [ -e ./autogen.sh ]; then - - make check + - ${XVFB_RUN} make check - elif [ -e ./CMakeLists.txt ]; then - - make test + - ${XVFB_RUN} make test - fi - fi - fi |