Conversation
I'll check to fix the extension, but the full api seems to have evolved Going as fast as possible PS : i'll do another merge request regarding cloning of signers (which are
|
Ok, should be solved, a change in API, it's even strange it even worked, I've added a composer.json file in the repos not sure it helps |
6dbc4e2
to
0ba4304
Compare
@xdecock It's not compiling anymore: see https://travis-ci.org/swiftmailer/swiftmailer/jobs/35799357 for instance |
Any way to find the version on libopendkim installed on travis? |
From the output: Unpacking libopendkim-dev (from .../libopendkim-dev_2.6.8-0ubuntu1.0.1_amd64.deb) |
OK, the api break was between 2.9 and 2.6 not 2.0, correction is pushed, compiles on 12.04, the extension test works without issues (no segfaults) |
0ba4304
to
d1666f4
Compare
It compiles now but there is still a segfault. |
I'm unable to reproduce the segfault on a 12.04 here, (i only have 64 bit machines however, not sure about travis) |
- composer self-update | ||
- composer update --no-interaction --prefer-source | ||
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then sudo apt-get install libopendkim-dev && cd /tmp/ && git clone https://github.com/xdecock/php-opendkim && cd /tmp/php-opendkim && phpize && ./configure && make && make install; fi;' | ||
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then echo "extension = opendkim.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this line is moved to before_script does it works? (not the best solution but i can't understand what's going on
This reverts commit ea4c6f2.
- gem install mailcatcher | ||
|
||
install: | ||
- COMPOSER_ROOT_VERSION=dev-master composer --prefer-source install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need to set COMPOSER_ROOT_VERSION
(it is needed only when you have a circular dependency involving the root package. So symfony was using it because some of its dev dependencies depend on Symfony components too, and ICU was creating issues too with a circular dependency. There is nothing like that in swiftmailer)
Unfortunately, adding the opendkim PHP extension makes PHP crash when running Composer.
@xdecock Can you have a look at it as it makes support for opendkim unusable for anyone using Composer?