diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69a69e0f..8c204352 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ build: script: - apt-get -y update - bash -c 'mkdir -p /usr/share/man/man{0..10}' - - apt-get -y install build-essential devscripts fakeroot dh-exec jdupes doxygen graphviz php-cli + - apt-get -y install build-essential devscripts fakeroot dh-exec jdupes doxygen graphviz php-cli phpunit - mv debian/changelog debian/changelog.old - > cat @@ -22,6 +22,8 @@ build: debian/changelog.old >debian/changelog - rm debian/changelog.old + - curl 'https://gitlab.com/davical-project/awl/-/archive/master/awl-master.tar.gz' | tar zxf - + - mv awl-master /usr/share/awl/ - debuild -us -uc -b -d - 'mv ../davical_*_all.deb ./davical.deb' artifacts: @@ -170,6 +172,10 @@ build_bullseye_latestphp: debian/changelog.old >debian/changelog - rm debian/changelog.old + - curl 'https://gitlab.com/davical-project/awl/-/archive/master/awl-master.tar.gz' | tar zxf - + - mv awl-master /usr/share/awl/ + - curl -o /usr/bin/phpunit -L https://phar.phpunit.de/phpunit-9.phar + - chmod +x /usr/bin/phpunit - debuild --prepend-path=/usr/local/bin -us -uc -b -d - 'mv ../davical_*_all.deb ./davical.deb' artifacts: