Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Sep 18, 2020

Took me a while but this should build and test the IMAP extension on Azure Pipelines.

--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d
--with-config-file-scan-dir=/etc/php.d \
--with-imap --with-kerberos --with-imap-ssl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move these before --enable-werror and one per line.


// Change these to make tests run successfully
$mailbox = '{localhost/norsh}';
$mailbox = '{127.0.0.1:143/debug/norsh}';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/debug intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used it to debug the connection locally and I think it would be rather useful to leave it on

$retries = 0; // don't retry connect on failure

$mbox = @imap_open($mailbox, $username, $password, $options, $retries);
$mbox = imap_open($mailbox, $username, $password, $options, $retries);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suppression needs to stay here, otherwise SKIPIF will break.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to revert while I was debugging the connection

Drop various ZPP checks and make them PASS
Add CONFLICT file as the tests all hit the same mailbox
@php-pulls php-pulls closed this in ef9359d Sep 18, 2020
@Girgias Girgias deleted the imap-set-up-ci branch September 18, 2020 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants