forked from cocur/slugify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
32 lines (28 loc) · 1.09 KB
/
.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
32
build: false
platform: x86
clone_folder: C:\projects\cocur\slugify
cache:
- '%APPDATA%\Composer'
- '%LOCALAPPDATA%\Composer'
- C:\tools\composer.phar -> .appveyor.yml
- C:\tools\php -> .appveyor.yml
init:
- SET PATH=C:\tools\php;%PATH%
- SET COMPOSER_BINARY=C:\tools\composer.phar
install:
- ps: Set-Service wuauserv -StartupType Manual
- IF NOT EXIST C:\tools\php (choco install --yes --allow-empty-checksums php --params '/InstallDir:C:\tools\php')
- cd C:\tools\php
- 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_curl.dll >> php.ini
- echo memory_limit=3G >> php.ini
- IF NOT EXIST C:\tools\composer.phar (cd C:\tools && appveyor DownloadFile https://getcomposer.org/composer.phar)
- cd %APPVEYOR_BUILD_FOLDER%
- php C:\tools\composer.phar update --no-interaction --no-progress --optimize-autoloader --prefer-stable
test_script:
- cd %APPVEYOR_BUILD_FOLDER%
- php vendor\bin\simple-phpunit