-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable CI of command integration tests on Windows
- Loading branch information
1 parent
d092410
commit 85bdf22
Showing
3 changed files
with
41 additions
and
0 deletions.
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,39 @@ | ||
build: false | ||
clone_depth: 1 | ||
platform: x86 | ||
|
||
environment: | ||
matrix: | ||
- PHP_DOWNLOAD_FILE: php-5.6.29-nts-Win32-VC11-x86.zip | ||
|
||
cache: | ||
- c:\php -> .appveyor.yml | ||
- '%LOCALAPPDATA%\Composer' | ||
|
||
init: | ||
- SET PATH=c:\php;%PATH% | ||
- SET COMPOSER_NO_INTERACTION=1 | ||
- SET PHP=1 | ||
- SET ANSICON=121x90 (121x90) | ||
- git config --global core.autocrlf input | ||
|
||
install: | ||
- IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php) | ||
- cd c:\php | ||
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/%PHP_DOWNLOAD_FILE% | ||
- IF %PHP%==1 7z x %PHP_DOWNLOAD_FILE% -y > 7z.log | ||
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat | ||
- appveyor DownloadFile https://getcomposer.org/composer.phar | ||
- 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_curl.dll >> php.ini | ||
- echo extension=php_mbstring.dll >> php.ini | ||
- echo extension=php_fileinfo.dll >> php.ini | ||
- cd %APPVEYOR_BUILD_FOLDER% | ||
- composer update --no-progress --ansi | ||
|
||
test_script: | ||
- cd %APPVEYOR_BUILD_FOLDER% | ||
- composer lpv:test |
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