-
Notifications
You must be signed in to change notification settings - Fork 40
/
.appveyor.yml
41 lines (33 loc) · 1.16 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
33
34
35
36
37
38
39
40
41
platform:
- x64
image: Visual Studio 2019
branches:
except:
- gh-pages
clone_folder: C:\projects\steward
cache:
- C:\tools\php -> .appveyor.yml
init:
- SET PHP=1
- SET PATH=C:\tools\php;%PATH%
- SET ANSICON=121x90 (121x90)
- git config --global core.autocrlf false
install:
- IF EXIST c:\tools\php (SET PHP=0)
- IF %PHP%==1 cinst -y OpenSSL.Light
- IF %PHP%==1 cinst -y php --params "/InstallDir:C:\tools\php" # we do not use -version to specify exact version, but we rather use the latest available
- cd C:\tools\php
- IF %PHP%==1 copy php.ini-production php.ini /Y
- IF %PHP%==1 echo extension_dir=ext >> php.ini
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
- IF %PHP%==1 echo extension=php_curl.dll >> php.ini
- cd %APPVEYOR_BUILD_FOLDER%
- appveyor DownloadFile https://getcomposer.org/composer.phar
- php --version
- php --ini
- php composer.phar update --no-interaction --no-progress
test_script:
- cd %APPVEYOR_BUILD_FOLDER%\src-tests\
- php ..\vendor\bin\phpunit --colors=always --exclude-group integration
build: false # disable build step (we only run tests)