aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-25 13:18:20 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-25 13:18:58 +0200
commit8c3fd3809c6f25b9e6b68d8a6d69af5eba85e9bf (patch)
tree169dc55be7678945e2f82cee187a07962470b58f
parentde7348d23cdc4f14a9a0077113aaea73f0695047 (diff)
downloadayatana-indicator-power-8c3fd3809c6f25b9e6b68d8a6d69af5eba85e9bf.tar.gz
ayatana-indicator-power-8c3fd3809c6f25b9e6b68d8a6d69af5eba85e9bf.tar.bz2
ayatana-indicator-power-8c3fd3809c6f25b9e6b68d8a6d69af5eba85e9bf.zip
.build.yml: Run unit tests in build_scripts: target.
-rw-r--r--.build.yml13
1 files changed, 5 insertions, 8 deletions
diff --git a/.build.yml b/.build.yml
index 760be00..62fee5e 100644
--- a/.build.yml
+++ b/.build.yml
@@ -147,13 +147,10 @@ build_scripts:
- fi
- scan-build $CHECKERS --keep-cc -o html-report make
- fi
-
-after_scripts:
- - if [ ${BUILD_TYPE} == "scripts" ];then
- - XVFB_RUN="$(which xvfb-run || true)"
- - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];then
- - if [ -e ./CMakeLists.txt ]; then
- - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test
- - fi
+ -
+ - XVFB_RUN="$(which xvfb-run || true)"
+ - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];then
+ - if [ -e ./CMakeLists.txt ]; then
+ - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test
- fi
- fi