forked from api-platform/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (27 loc) · 887 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
build: false
platform: x86
clone_folder: c:\projects\api-platform\core
cache:
- '%LOCALAPPDATA%\Composer\files'
environment:
SYMFONY_DEPRECATIONS_HELPER: weak_vendors
APP_ENV: test
install:
- ps: Set-Service wuauserv -StartupType Manual
- cinst -y php composer
- refreshenv
- cd c:\tools\php72
- copy php.ini-production php.ini /Y
- echo date.timezone="UTC" >> php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- echo extension=php_mbstring.dll >> php.ini
- echo extension=php_intl.dll >> php.ini
- echo extension=php_pdo_sqlite.dll >> php.ini
- echo memory_limit=3G >> php.ini
- cd %APPVEYOR_BUILD_FOLDER%
- composer install --no-interaction --no-progress
test_script:
- cd %APPVEYOR_BUILD_FOLDER%
- php vendor\behat\behat\bin\behat --format=progress --suite=default
- php vendor\phpunit\phpunit\phpunit