gitlab-ci.yml: add missing phpunit, awl to targets running debuild

we now require this for "make test"
This commit is contained in:
Florian Schlichting 2023-03-13 22:18:04 +01:00
parent 4301a795ac
commit 72b13cfc65

View File

@ -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: