-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 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,28 @@ | ||
build: off | ||
cache: | ||
- c:\php -> appveyor.yml | ||
- '%LOCALAPPDATA%\Composer\files -> appveyor.yml' | ||
|
||
clone_folder: c:\projects\http | ||
|
||
init: | ||
- SET PATH=c:\php;%PATH% | ||
- SET PHP=1 | ||
|
||
install: | ||
# Install PHP | ||
- IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php) | ||
- IF %PHP%==1 cd c:\php | ||
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/php-5.6.15-Win32-VC11-x86.zip | ||
- IF %PHP%==1 7z x php-5.6.15-Win32-VC11-x86.zip >nul | ||
- IF %PHP%==1 echo extension_dir=ext >> php.ini | ||
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini | ||
- IF %PHP%==1 del /Q *.zip | ||
- cd c:\projects\http | ||
|
||
# Install Nette Tester | ||
- appveyor DownloadFile https://getcomposer.org/composer.phar | ||
- php composer.phar install --prefer-dist --no-interaction --no-progress --ansi | ||
|
||
test_script: | ||
- vendor\bin\tester tests -s --colors 0 -c tests\php-win.ini |
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