Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Commit b7c746d

Browse files
committed
Update AppVeyor config
1 parent d2a2e1e commit b7c746d

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

appveyor.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
version: "{branch}-{build}"
22
build: false
3-
clone_folder: C:\projects\eloquent
4-
platform: 'x86'
3+
platform: x86
4+
5+
init:
6+
- SET PATH=c:\php;%PATH%
7+
- SET COMPOSER_NO_INTERACTION=1
8+
- SET PHP=1
9+
10+
cache:
11+
- '%LOCALAPPDATA%\Composer\files'
512

613
install:
7-
- cinst -y OpenSSL.Light
8-
- SET PATH=C:\Program Files\OpenSSL;%PATH%
9-
- sc config wuauserv start= auto
10-
- net start wuauserv
11-
- cinst -y php
12-
- cd c:\tools\php72
13-
- copy php.ini-production php.ini
14+
- ps: Set-Service wuauserv -StartupType Manual
15+
- cinst -y php composer
16+
- refreshenv
17+
- cd c:\tools\php73
18+
- copy php.ini-production php.ini /Y
1419
- echo date.timezone="UTC" >> php.ini
1520
- echo extension_dir=ext >> php.ini
16-
- echo extension=php_mbstring.dll >> php.ini
1721
- echo extension=php_openssl.dll >> php.ini
18-
- cd C:\projects\eloquent
19-
- SET PATH=C:\tools\php72;%PATH%
20-
- php -r "readfile('http://getcomposer.org/installer');" | php
21-
- php composer.phar install --prefer-source --no-interaction
22+
- echo extension=php_mbstring.dll >> php.ini
23+
- echo extension=php_curl.dll >> php.ini
24+
- cd %APPVEYOR_BUILD_FOLDER%
25+
- composer install --no-progress
2226

2327
test_script:
24-
- cd C:\projects\eloquent
28+
- cd %APPVEYOR_BUILD_FOLDER%
2529
- vendor/bin/phpunit --no-coverage

0 commit comments

Comments
 (0)