Skip to content

Commit

Permalink
Merge pull request #869 from alcaeus/update-php-versions
Browse files Browse the repository at this point in the history
Update supported PHP versions
  • Loading branch information
alcaeus committed Nov 13, 2019
2 parents 0c2813b + b26c343 commit 8e12425
Show file tree
Hide file tree
Showing 5 changed files with 242 additions and 253 deletions.
9 changes: 6 additions & 3 deletions .appveyor.yml
Expand Up @@ -13,7 +13,9 @@ cache:

environment:
matrix:
- php: 7.2
- php: 7.2.23
- php: 7.3.10
- php: 7.1.32

init:
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php;C:\tools\composer;%PATH%
Expand All @@ -25,14 +27,15 @@ install:
- ps: |
# Check if installation is cached
if (!(Test-Path c:\tools\php)) {
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 | sort { [version]($_ -split '\|' | select -last 1) } -Descending | Select-Object -first 1) -replace '[php|]','')
appveyor-retry cinst --params '""/InstallDir:C:\tools\php""' --no-progress --ignore-checksums -y php --version $env:php
# install sqlite
appveyor-retry cinst -y sqlite
appveyor-retry cinst -y sqlite --no-progress
Get-ChildItem -Path c:\tools\php
cd c:\tools\php
# Set PHP environment items that are always needed
copy php.ini-production php.ini
Add-Content php.ini "`n date.timezone=UTC"
Add-Content php.ini "`n extension_dir=ext"
Add-Content php.ini "`n memory_limit=1G"
Expand Down
3 changes: 0 additions & 3 deletions .travis.yml
Expand Up @@ -23,9 +23,6 @@ script:
- ./vendor/bin/phpunit

jobs:
allow_failures:
- php: 7.4snapshot

include:
- stage: Test
env: DEPENDENCIES=low
Expand Down

0 comments on commit 8e12425

Please sign in to comment.