Skip to content
This repository has been archived by the owner on Nov 8, 2020. It is now read-only.

Commit

Permalink
Implemented AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
klapuch committed Dec 11, 2016
1 parent cf49294 commit 79f678e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Csrf
[![Build Status](https://travis-ci.org/klapuch/Csrf.svg?branch=master)](https://travis-ci.org/klapuch/Csrf) [![Coverage Status](https://coveralls.io/repos/github/klapuch/Csrf/badge.svg?branch=master)](https://coveralls.io/github/klapuch/Csrf?branch=master)
[![Build Status](https://travis-ci.org/klapuch/Csrf.svg?branch=master)](https://travis-ci.org/klapuch/Csrf) [![Build status](https://ci.appveyor.com/api/projects/status/5jhtfn8fmu9c78iw?svg=true)](https://ci.appveyor.com/project/facedown/csrf) [![Coverage Status](https://coveralls.io/repos/github/klapuch/Csrf/badge.svg?branch=master)](https://coveralls.io/github/klapuch/Csrf?branch=master)
29 changes: 29 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
build: off
cache:
- c:\php -> appveyor.yml
- '%LOCALAPPDATA%\Composer\files -> appveyor.yml'

clone_folder: c:\projects\project

init:
- SET PATH=c:\php;%PATH%
- SET PHP=1
- SET ANSICON=121x90 (121x90)

install:
- 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-7.1.0-Win32-VC14-x64.zip
- IF %PHP%==1 7z x php-7.1.0-Win32-VC14-x64.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\project

- appveyor DownloadFile https://getcomposer.org/composer.phar
- php composer.phar install --prefer-dist --no-interaction --no-progress

test_script:
- vendor/bin/tester -o console -s Tests

0 comments on commit 79f678e

Please sign in to comment.