Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appveyor CI for Windows #208

Merged
merged 15 commits into from
Oct 10, 2014
25 changes: 25 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
build: false
shallow_clone: true
platform: 'x86'
clone_folder: C:\projects\phpmd
branches:
except:
- gh-pages

install:
- cinst OpenSSL.Light
- SET PATH=C:\Program Files\OpenSSL;%PATH%
- cinst php
- cd c:\tools\php
- copy php.ini-production php.ini
- echo date.timezone="UTC" >> php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- SET PATH=C:\tools\php;%PATH%
- cd C:\projects\phpmd
- php -r "readfile('http://getcomposer.org/installer');" | php
- php composer.phar install --prefer-dist --no-interaction --dev

test_script:
- cd C:\projects\phpmd
- vendor\bin\phpunit.bat
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"symfony/filesystem": "2.5.*",
"symfony/config": "2.5.*"
},
"require-dev": {
"phpunit/phpunit": "*"
},

"autoload": {
"psr-0": {
Expand Down