Skip to content

Commit

Permalink
Merge pull request #2 from php-api-clients/rxphp-2.0
Browse files Browse the repository at this point in the history
Update to RxPHP 2.0
  • Loading branch information
WyriHaximus committed Mar 22, 2017
2 parents 7f5d1b8 + 507472e commit 21302b3
Show file tree
Hide file tree
Showing 5 changed files with 167 additions and 210 deletions.
11 changes: 7 additions & 4 deletions appveyor.yml
Expand Up @@ -3,7 +3,6 @@ platform:
- x64
clone_folder: c:\projects\php-project-workspace


## Build matrix for lowest and highest possible targets
environment:
matrix:
Expand All @@ -13,16 +12,20 @@ environment:
php_ver_target: 7.1
- dependencies: current
php_ver_target: 7.0
- dependencies: highest
- dependencies: current
php_ver_target: 7.1
- dependencies: highest
php_ver_target: 7.0
- dependencies: highest
php_ver_target: 7.1

## Cache composer bits
## Cache composer, chocolatey and php bits
cache:
- '%LOCALAPPDATA%\Composer\files -> composer.lock'
- composer.phar
- C:\ProgramData\chocolatey\bin -> .appveyor.yml
- C:\ProgramData\chocolatey\lib -> .appveyor.yml
- c:\tools\php -> .appveyor.yml

## Set up environment varriables
init:
Expand All @@ -34,7 +37,7 @@ init:
## Install PHP and composer, and run the appropriate composer command
install:
- IF EXIST c:\tools\php (SET PHP=0)
- ps: appveyor-retry cinst -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $Env:php_ver_target | Select-Object -first 1) -replace '[php|]','')
- ps: appveyor-retry cinst --params '""/InstallDir:C:\tools\php""' --ignore-checksums -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $env:php_ver_target | sort { [version]($_ -split '\|' | select -last 1) } -Descending | Select-Object -first 1) -replace '[php|]','')
- cd c:\tools\php
- IF %PHP%==1 copy php.ini-production php.ini /Y
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini
Expand Down
7 changes: 4 additions & 3 deletions composer.json
Expand Up @@ -10,17 +10,18 @@
"require": {
"php": "^7.0",
"react/promise": "^2.4",
"reactivex/rxphp": "^1.5"
"reactivex/rxphp": "^2.0"
},
"require-dev": {
"api-clients/test-utilities": "^2.0"
"api-clients/test-utilities": "^3.0.1"
},
"autoload": {
"psr-4": {
"ApiClients\\Tools\\Rx\\": "src/"
},
"files": [
"src/functions_include.php"
"src/functions_include.php",
"src/bootstrap.php"
]
},
"autoload-dev": {
Expand Down

0 comments on commit 21302b3

Please sign in to comment.