-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from alexiusp/windows-support
#1: Add Windows support
- Loading branch information
Showing
4 changed files
with
60 additions
and
4 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 |
---|---|---|
|
@@ -5,7 +5,6 @@ php: | |
- 5.5 | ||
- 5.6 | ||
- 7 | ||
- hhvm | ||
|
||
env: | ||
- COMPOSER_OPTS="" | ||
|
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
build: false | ||
version: '{build}' | ||
platform: x86 | ||
clone_folder: c:\projects\environment-loader | ||
shallow_clone: false | ||
|
||
environment: | ||
matrix: | ||
- PHP_DOWNLOAD_FILE: php-7.1.11-Win32-VC14-x86.zip | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
skip_commits: | ||
message: /\[ci skip\]/ | ||
|
||
cache: | ||
- c:\php -> appveyor.yml | ||
|
||
init: | ||
- SET PATH=c:\php;%PATH% | ||
- SET COMPOSER_NO_INTERACTION=1 | ||
- SET PHP=1 | ||
- SET ANSICON=121x90 (121x90) | ||
- git config --global core.autocrlf input | ||
|
||
install: | ||
- IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php) | ||
- cd c:\php | ||
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/%PHP_DOWNLOAD_FILE% | ||
- IF %PHP%==1 7z x %PHP_DOWNLOAD_FILE% -y > 7z.log | ||
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat | ||
- appveyor DownloadFile https://getcomposer.org/composer.phar | ||
- 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_curl.dll >> php.ini | ||
- echo extension=php_mbstring.dll >> php.ini | ||
- echo extension=php_fileinfo.dll >> php.ini | ||
- cd c:\projects\environment-loader | ||
- composer install --no-progress --ansi | ||
|
||
test_script: | ||
- cd c:\projects\environment-loader | ||
- php vendor\phpunit\phpunit\phpunit |
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
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