File tree 2 files changed +30
-0
lines changed
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ build : off
2
+ cache :
3
+ - c:\php -> appveyor.yml
4
+ - ' %LOCALAPPDATA%\Composer\files -> appveyor.yml'
5
+
6
+ clone_folder : c:\projects\http
7
+
8
+ init :
9
+ - SET PATH=c:\php;%PATH%
10
+ - SET PHP=1
11
+ - SET ANSICON=121x90 (121x90)
12
+
13
+ install :
14
+ # Install PHP
15
+ - IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php)
16
+ - IF %PHP%==1 cd c:\php
17
+ - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.6.14-Win32-VC11-x86.zip
18
+ - IF %PHP%==1 7z x php-5.6.14-Win32-VC11-x86.zip >nul
19
+ - IF %PHP%==1 echo extension_dir=ext >> php.ini
20
+ - IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
21
+ - IF %PHP%==1 del /Q *.zip
22
+ - cd c:\projects\http
23
+
24
+ # Install Nette Tester
25
+ - appveyor DownloadFile https://getcomposer.org/composer.phar
26
+ - php composer.phar install --prefer-dist --no-interaction --no-progress
27
+
28
+ test_script :
29
+ - vendor\bin\tester tests -s -c tests\php-win.ini
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ Nette HTTP Component
3
3
4
4
[ ![ Downloads this Month] ( https://img.shields.io/packagist/dm/nette/http.svg )] ( https://packagist.org/packages/nette/http )
5
5
[ ![ Build Status] ( https://travis-ci.org/nette/http.svg?branch=master )] ( https://travis-ci.org/nette/http )
6
+ [ ![ Build Status Windows] ( https://ci.appveyor.com/api/projects/status/github/nette/http?branch=master&svg=true )] ( https://ci.appveyor.com/project/nette/http/branch/master )
6
7
[ ![ Latest Stable Version] ( https://poser.pugx.org/nette/http/v/stable )] ( https://github.com/nette/http/releases )
7
8
[ ![ License] ( https://img.shields.io/badge/license-New%20BSD-blue.svg )] ( https://github.com/nette/http/blob/master/license.md )
8
9
You can’t perform that action at this time.
0 commit comments