-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Enable PHP 7.3 on Travis #29624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable PHP 7.3 on Travis #29624
Conversation
I see you took my commit from nicolas-grekas#18, cool! |
@nicolas-grekas what's the best way to trigger travis builds? |
push-forcing a commit - but maybe the yaml is invalid? that could be a reason why travis is not triggered. |
A new way (RIP https://lint.travis-ci.org) to lint your .travis.yml is to use the Travis CI CLI. |
PR ran in Travis. I'm not sure why it's not reported in GitHub though. Weird. |
It did run for older commits, but then stopped working. Must be something wrong with travis.yaml indeed. |
Just ran travis cli lint and the offending line is this one: https://github.com/symfony/symfony/pull/29624/files#diff-354f30a63fb0907d4ad57269548329e3R195 When you remove that line or indent it properly Travis lint is fine with the YAML. Should be
instead of
|
ok great! we now have some failing tests to look at |
.travis.yml
Outdated
@@ -126,6 +126,26 @@ before_install: | ||
(cd php-$MIN_PHP && ./configure --enable-sigchild --enable-pcntl && make -j2) | ||
fi | ||
|
||
- | | ||
# Install ext/memcached from source |
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.
shouldn't it be done only for PHP 7.3 ?
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.
yes that's true. Maybe it's even better to compile the .so files once and download them instead of compiling (until a release is made) because these are master branches ...
I would first like to get to the point where 7.3 is working. Any idea to fix the OPT_LIBKETAMA_COMPATIBLE issue? I am a bit lost
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.
Memcached should be in its way before the end of the year.
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.
okay. Trying to isolate the memcache tests now ...
the memcached behavior is reproducible with 7.2. Can't reproduce locally so have to trigger more Travis builds to find the exact commit in ext/memcached that behaves different |
enabled amqp now |
Status of the work is kept up to date in the PR description above. @nicolas-grekas ext/memcached is skipped for now, ext/amqp is built from source. The tests are green https://travis-ci.org/symfony/symfony/builds/470724643 |
I admire your persistence @tvlooy! |
Puzzled with the failing memcached tests |
well that works. Yay! ping @nicolas-grekas @stof |
Awesome thank you! |
env: deps=low | ||
env: deps=high | ||
- php: 7.3 | ||
env: deps=high |
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.
Looks like we don't have test for deps=low
anymore.
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.
which envs do you want to test? I enabled all in next commit but that seems overkill
This PR was merged into the 3.4 branch. Discussion ---------- Enable PHP 7.3 on Travis | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - The bits of #29624 that apply to 3.4. Commits ------- 335036c Enable PHP 7.3 on Travis
@nicolas-grekas good idea. I'll try to do it this week |
This PR was merged into the 3.4 branch. Discussion ---------- Use system wide memcached.so | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | WiP | License | MIT requested by #29624 (comment) let's see what travis is going to do with this ... Commits ------- 8d171f4 Use system wide memcached.so
Enable PHP 7.3 on Travis.