aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-24 21:23:48 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-24 21:33:18 +0200
commita6c9ba856771a0c10d3206669b936d2c3585f818 (patch)
tree2733c8b50cc7b8d07803a68b650355ea30f27308
parentc2f6dc5385eb88c8da44c441f705e76a1dc6da38 (diff)
downloadlibayatana-appindicator-a6c9ba856771a0c10d3206669b936d2c3585f818.tar.gz
libayatana-appindicator-a6c9ba856771a0c10d3206669b936d2c3585f818.tar.bz2
libayatana-appindicator-a6c9ba856771a0c10d3206669b936d2c3585f818.zip
.build.yml. Run unit tests directly after build in build_scripts: target.
-rw-r--r--.build.yml22
1 files changed, 9 insertions, 13 deletions
diff --git a/.build.yml b/.build.yml
index d7cc048..59c9151 100644
--- a/.build.yml
+++ b/.build.yml
@@ -200,18 +200,14 @@ build_scripts:
- scan-build $CHECKERS --keep-cc -o html-report make
- cd -
- 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
- - cd build/gtk3/
- - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test
- - cd -
- - cd build/gtk2/
- - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test
- - cd -
- - fi
+ - XVFB_RUN="$(which xvfb-run || true)"
+ - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then
+ - if [ -e ./CMakeLists.txt ]; then
+ - cd build/gtk3/
+ - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test
+ - cd -
+ - cd build/gtk2/
+ - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test
+ - cd -
- fi
- fi