summaryrefslogtreecommitdiff
path: root/azure
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-11-03 09:49:18 +0000
committerGeorge Peter Banyard <girgias@php.net>2020-11-03 09:50:42 +0000
commit06ddda22fe4e8fd987ad7c1b520469d7a2680e0f (patch)
treed1c58019a73dbe8b2ca3515d9c4980068d011b01 /azure
parente1cbfb38f6c29004212853bcddfbe20f7d743447 (diff)
downloadphp-git-06ddda22fe4e8fd987ad7c1b520469d7a2680e0f.tar.gz
Modernize IMAP tests
Use constants when appropriate, drop some ouputs which depends on env vars Enable parallel testing. Closes GH-6380
Diffstat (limited to 'azure')
-rw-r--r--azure/apt.yml7
-rw-r--r--azure/setup.yml4
2 files changed, 8 insertions, 3 deletions
diff --git a/azure/apt.yml b/azure/apt.yml
index 71f58ce8da..aa27d4a551 100644
--- a/azure/apt.yml
+++ b/azure/apt.yml
@@ -42,6 +42,11 @@ steps:
snmp-mibs-downloader \
unixodbc-dev \
llvm \
- libc-client-dev libkrb5-dev dovecot-core dovecot-pop3d dovecot-imapd \
+ libc-client-dev \
+ libkrb5-dev \
+ dovecot-core \
+ dovecot-pop3d \
+ dovecot-imapd \
+ sendmail \
${{ parameters.packages }}
displayName: 'APT'
diff --git a/azure/setup.yml b/azure/setup.yml
index e0b4dc79da..489df88159 100644
--- a/azure/setup.yml
+++ b/azure/setup.yml
@@ -20,8 +20,8 @@ steps:
set -e
sudo groupadd -g 5000 vmail
sudo useradd -m -d /var/vmail -s /bin/false -u 5000 -g vmail vmail
- sudo cp ext/imap/tests/dovecot.conf /etc/dovecot/dovecot.conf
- sudo cp ext/imap/tests/dovecotpass /etc/dovecot/dovecotpass
+ sudo cp ext/imap/tests/setup/dovecot.conf /etc/dovecot/dovecot.conf
+ sudo cp ext/imap/tests/setup/dovecotpass /etc/dovecot/dovecotpass
sudo service dovecot restart
displayName: 'Configure IMAP'