New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PHPUnit 6; drop older language/dependencies versions #93

Merged
merged 27 commits into from May 26, 2017
Commits
Jump to file or symbol
Failed to load files and symbols.
+2,248 −2,243
Diff settings

Always

Just for now

Copy path View file
@@ -6,12 +6,10 @@ cache:
matrix:
include:
- php: 5.3
- php: 7.0
env:
- DEPS="low"
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
env:
- DEPS="lock"
- php: 7.0
@@ -24,21 +22,18 @@ matrix:
- php: 7.1
env:
- XDEBUG_DISABLE=true
- php: hhvm
allow_failures:
- php: hhvm
- php: nightly
fast_finish: true
install:
- if [[ $XDEBUG_DISABLE ]]; then phpenv config-rm xdebug.ini; fi
- if [[ $TEST_COVERAGE ]]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; fi
- if [[ $DEPS == "low" ]]; then composer update --prefer-lowest --prefer-dist --prefer-stable --no-interaction; fi
- if [[ $DEPS == "lock" ]]; then composer install --prefer-dist --no-interaction; fi
- if [[ -z $DEPS ]]; then composer update --prefer-dist --prefer-stable --no-interaction; fi
script:
- bin/phpunit -v $PHPUNIT_FLAGS
- if [[ $TEST_COVERAGE ]]; then phpdbg -qrr bin/phpunit --coverage-clover ./build/logs/clover.xml; else bin/phpunit; fi
after_success:
- if [[ $TEST_COVERAGE ]]; then php bin/coveralls -v; fi
@@ -62,4 +57,5 @@ deploy:
skip_cleanup: true
on:
tags: true
php: 5.3
php: 7.0
condition: XDEBUG_DISABLE=true
Copy path View file
@@ -3,6 +3,15 @@
All notable changes of the Paraunit 0.x release series are documented in this file using the
[Keep a CHANGELOG](http://keepachangelog.com/) principles.
## [0.9] - TBA
### Changed
* Support for PHPUnit 6
* Drop support for PHPUnit 4 & 5
* Minimum PHP version required: 7.0
* Improvement to the whole codebase (scalar and return type hints, strict types enforced)
## [0.8.2] - 2017-01-26
### Fixed
Copy path View file
@@ -1,33 +1,36 @@
build: false
version: '0.7.x-{build}'
version: '{branch}-{build}'
clone_depth: 1
cache:
- composer.phar
- C:\Users\appveyor\AppData\Local\Composer\files
- c:\php -> appveyor.yml
init:
- SET PATH=c:\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET ANSICON=121x90 (121x90)
- SET PHP=1
install:
## install PHP
- mkdir c:\php && cd c:\php
- appveyor DownloadFile https://raw.githubusercontent.com/symfony/binary-utils/master/cacert.pem
- appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.3.29-nts-Win32-VC9-x86.zip
- 7z x php-5.3.29-nts-Win32-VC9-x86.zip -y >nul
- del /Q *.zip
- copy /Y php.ini-development php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- echo extension=php_curl.dll >> php.ini
- echo date.timezone="Europe/Rome" >> php.ini
- echo curl.cainfo=c:\php\cacert.pem >> php.ini
- IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php)
- cd c:\php
- IF %PHP%==1 appveyor DownloadFile https://raw.githubusercontent.com/symfony/binary-utils/master/cacert.pem
- IF NOT EXIST php-7.0.9-nts-Win32-VC14-x86.zip (appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.0.9-nts-Win32-VC14-x86.zip)
- IF %PHP%==1 7z x php-7.0.9-nts-Win32-VC14-x86.zip -y >nul
- IF %PHP%==1 copy /Y php.ini-development php.ini
- IF %PHP%==1 echo extension_dir=ext >> php.ini
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
- IF %PHP%==1 echo extension=php_curl.dll >> php.ini
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
- IF %PHP%==1 echo date.timezone="Europe/Rome" >> php.ini
- IF %PHP%==1 echo curl.cainfo=c:\php\cacert.pem >> php.ini
## install composer and dependencies
- cd c:\projects\paraunit
- IF NOT EXIST composer.phar (appveyor DownloadFile https://getcomposer.org/download/1.2.3/composer.phar)
- IF NOT EXIST composer.phar (appveyor DownloadFile https://getcomposer.org/composer.phar)
- php composer.phar self-update
- php composer.phar update --prefer-dist --prefer-stable --no-interaction
- php composer.phar update --prefer-dist --prefer-stable --no-interaction --no-progress --no-suggest --ansi
test_script:
- cd c:\projects\paraunit
Copy path View file
@@ -23,15 +23,14 @@
}
],
"require": {
"php": ">=5.3.3,<8",
"symfony/console": ">=2.3,<4.0",
"symfony/dependency-injection": ">=2.3,<4.0",
"symfony/http-kernel": ">=2.3,<4.0",
"symfony/config": ">=2.3,<4.0",
"symfony/process": ">=2.3,<4.0",
"symfony/event-dispatcher": ">=2.3,<4.0",
"phpunit/phpunit": ">=4.6,<6",
"phpunit/php-code-coverage": ">=2.2.0,<5"
"php": "^7.0",
"symfony/console": "^2.7||^3.0",
"symfony/dependency-injection": "^2.7||^3.0",
"symfony/config": "^2.7||^3.0",
"symfony/process": "^2.7||^3.0",
"symfony/event-dispatcher": "^2.7||^3.0",
"phpunit/phpunit": "^6.0.9",
"phpunit/php-code-coverage": "^4.0||^5.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "2.*",
Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.