-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
[WIP] Update Windows compatibility #276
Closed
Closed
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
49abae0
Add appveyor config file
pierredup 3fb5c5c
Remove composer.bat file and use composer.phar directly
pierredup 8ae7600
Don't run phpunit with the php command
pierredup c5696cf
Use locally installed composer
pierredup b74b40c
Try running tests with Make
pierredup 038c91f
Revert "Use locally installed composer"
pierredup 832304a
Install make
pierredup adb5e8b
Revert "Remove composer.bat file and use composer.phar directly"
pierredup 7ba6b4f
Remove make
pierredup e316b62
Revert "Revert "Remove composer.bat file and use composer.phar direct…
pierredup 0d29352
Only install dependencies from lock file
pierredup 8d2d8f7
Change php_ver_target to PHP_VERSION
pierredup cb957ed
Change root directory in ConfigurationFileTest
pierredup e9f0c57
Update directory separator in ComposerConfigurationTest
pierredup 381452b
Add bzip2 extension
pierredup 1cb891c
Normalize directory separator
pierredup b6cef2f
Normalize paths for RequirementsDumperTest
pierredup f4e9bde
Remove ANSICON
pierredup File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
build: false | ||
platform: | ||
- x64 | ||
clone_folder: c:\projects\box | ||
version: '{build}.{branch}' | ||
|
||
environment: | ||
matrix: | ||
- PHP_VERSION: 7.1 | ||
- PHP_VERSION: 7.2 | ||
|
||
cache: | ||
- '%LOCALAPPDATA%\Composer\files' | ||
- composer.phar | ||
- C:\ProgramData\chocolatey\bin -> .appveyor.yml | ||
- C:\ProgramData\chocolatey\lib -> .appveyor.yml | ||
- c:\tools\php -> .appveyor.yml | ||
|
||
init: | ||
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php\%PHP_VERSION%;%PATH% | ||
- SET COMPOSER_NO_INTERACTION=1 | ||
- REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 1 /f | ||
|
||
install: | ||
- IF NOT EXIST c:\php mkdir c:\php | ||
- IF NOT EXIST c:\php\%PHP_VERSION% mkdir c:\php\%PHP_VERSION% | ||
- ps: appveyor-retry cinst --params '""/InstallDir:C:\tools\php\%PHP_VERSION%""' --ignore-checksums -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $env:PHP_VERSION | sort { [version]($_ -split '\|' | select -last 1) } -Descending | Select-Object -first 1) -replace '[php|]','') | ||
- cd c:\tools\php\%PHP_VERSION% | ||
- copy php.ini-production php.ini /Y | ||
- echo date.timezone="UTC" >> php.ini | ||
- echo extension_dir=ext >> php.ini | ||
- echo extension=php_openssl.dll >> php.ini | ||
- echo extension=php_mbstring.dll >> php.ini | ||
- echo extension=php_fileinfo.dll >> php.ini | ||
- echo extension=php_bz2.dll >> php.ini | ||
- cd c:\projects\box | ||
- IF NOT EXIST composer.phar (appveyor-retry appveyor DownloadFile https://github.com/composer/composer/releases/download/1.7.1/composer.phar) | ||
- php composer.phar self-update | ||
- IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev) | ||
- appveyor-retry php composer.phar install --no-interaction --no-progress --no-suggest --prefer-dist | ||
|
||
test_script: | ||
- cd c:\projects\box | ||
- bin\phpunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 the path be
C:\nowhere
?