Skip to content
This repository was archived by the owner on Dec 28, 2020. It is now read-only.

Commit b2a9c41

Browse files
authored
Add AppVeyor (#49)
* Add AppVeyor * add var-dumper
1 parent 72561ef commit b2a9c41

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

appveyor.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
build: false
2+
platform: x86
3+
clone_folder: c:\projects\dunglas\DunglasAngularCsrfBundle
4+
5+
cache:
6+
- '%LOCALAPPDATA%\Composer\files'
7+
8+
init:
9+
- SET PATH=c:\tools\php72;%PATH%
10+
11+
install:
12+
- ps: Set-Service wuauserv -StartupType Manual
13+
- cinst -y php
14+
- cd c:\tools\php72
15+
- copy php.ini-production php.ini /Y
16+
- echo date.timezone="UTC" >> php.ini
17+
- echo extension_dir=ext >> php.ini
18+
- echo extension=php_openssl.dll >> php.ini
19+
- echo extension=php_mbstring.dll >> php.ini
20+
- echo extension=php_intl.dll >> php.ini
21+
- echo extension=php_pdo_sqlite.dll >> php.ini
22+
- echo memory_limit=1G >> php.ini
23+
- cd %APPVEYOR_BUILD_FOLDER%
24+
- php -r "readfile('http://getcomposer.org/installer');" | php
25+
- php composer.phar install --no-interaction --no-progress
26+
27+
test_script:
28+
- cd %APPVEYOR_BUILD_FOLDER%
29+
- php vendor\phpspec\phpspec\bin\phpspec run
30+
- php vendor\behat\behat\bin\behat --format=progress

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"symfony/form": "^3.4 || ^4.0",
2828
"symfony/framework-bundle": "^3.4 || ^4.0",
2929
"symfony/validator": "^3.4 || ^4.0",
30+
"symfony/var-dumper": "^3.4 || ^4.0",
3031
"symfony/twig-bundle": "^3.4 || ^4.0"
3132
},
3233
"autoload": {

0 commit comments

Comments
 (0)