-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Add travis Windows build support #414
Add travis Windows build support #414
Conversation
Hi, thx! Let's target 2.x branch for the PR |
|
Yep. Tryping to find a workaround. Maybe it works for at least current php version. Lets see ;) |
Please read https://travis-ci.community/t/where-to-contribute-php-support-for-windows/304/3 some info may be useful |
Almost there ;) |
Congratulations! 🎆 |
Thanks @lisachenko. There is a slight bug here comparing two strings of generated classes. Can possibly be solved with: Edit: |
language: sh | ||
os: windows | ||
before_script: | ||
- choco install php --version 7.2.15 --package-parameters='"/InstallDir:C:\php"' |
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.
It would be nice to fetch latest available version of 7.2.x here to download it automatically.
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.
Puh don't know if that is possible. I will look into it
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.
Found this issue:
Could you please also target 2.x branch? I want to make 2.x working with Windows build too. And perform merge of 2.x into master later. |
- name: "PHP: 7.2" | ||
language: sh | ||
os: windows | ||
before_script: |
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.
Curious if Travis supports color output )
- SET ANSICON=121x90 (121x90)
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.
Lets see xD
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.
Sadly not
@lisachenko rebased from 2.x |
Oh hello. The build works now :D |
@lisachenko I will squash commits into a single one. So we can merge this one a tackle #402 issue on windows. |
All green! Perfect! 👍 |
The inspection completed: No new issues |
The inspection completed: No new issues |
Trying to add windows build for php.
This will replace appveyor if possible