Skip to content

Commit 1dc599c

Browse files
committed
added appveyor.yml
1 parent 72896fc commit 1dc599c

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

appveyor.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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

readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Nette HTTP Component
33

44
[![Downloads this Month](https://img.shields.io/packagist/dm/nette/http.svg)](https://packagist.org/packages/nette/http)
55
[![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)
67
[![Latest Stable Version](https://poser.pugx.org/nette/http/v/stable)](https://github.com/nette/http/releases)
78
[![License](https://img.shields.io/badge/license-New%20BSD-blue.svg)](https://github.com/nette/http/blob/master/license.md)
89

0 commit comments

Comments
 (0)