-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,35 @@ | ||
build: false | ||
build: off | ||
shallow_clone: true | ||
platform: x64 | ||
clone_folder: c:\projects\ausi-slug-generator | ||
clone_folder: C:\projects\ausi-slug-generator | ||
|
||
cache: | ||
- C:\tools\php71 -> appveyor.yml | ||
- C:\projects\ausi-slug-generator\vendor -> composer.lock | ||
- '%LOCALAPPDATA%\Composer\files' | ||
|
||
init: | ||
- SET PATH=c:\php;%PATH% | ||
- SET PATH=C:\tools\php71;%PATH% | ||
- SET PHP=1 | ||
- SET ANSICON=121x90 (121x90) | ||
|
||
install: | ||
- mkdir c:\php && cd c:\php | ||
- appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.1.6-Win32-VC14-x64.zip | ||
- 7z x php-7.1.6-Win32-VC14-x64.zip -y >nul | ||
- del *.zip | ||
- copy php.ini-production php.ini | ||
- echo date.timezone="UTC" >> php.ini | ||
- echo extension_dir=ext >> php.ini | ||
- echo extension=php_intl.dll >> php.ini | ||
- echo extension=php_mbstring.dll >> php.ini | ||
- echo extension=php_openssl.dll >> php.ini | ||
- echo extension=php_curl.dll >> php.ini | ||
- cd c:\projects\ausi-slug-generator | ||
- IF EXIST C:\tools\php71 (SET PHP=0) | ||
- IF %PHP%==1 appveyor-retry cinst -y OpenSSL.Light | ||
- IF %PHP%==1 appveyor-retry cinst -y php --version 7.1.14 | ||
- IF %PHP%==1 cd C:\tools\php71 | ||
- IF %PHP%==1 copy php.ini-production php.ini | ||
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini | ||
- IF %PHP%==1 echo extension_dir=ext >> php.ini | ||
- IF %PHP%==1 echo extension=php_bz2.dll >> php.ini | ||
- IF %PHP%==1 echo extension=php_curl.dll >> php.ini | ||
- IF %PHP%==1 echo extension=php_intl.dll >> php.ini | ||
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini | ||
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini | ||
- cd C:\projects\ausi-slug-generator | ||
- php -r "readfile('http://getcomposer.org/installer');" | php | ||
- php composer.phar update --no-progress --no-interaction --ansi | ||
- php composer.phar update --no-progress --no-suggest --no-interaction --ansi | ||
|
||
test_script: | ||
- cd c:\projects\ausi-slug-generator | ||
- cd C:\projects\ausi-slug-generator | ||
- vendor\bin\phpunit.bat |