Skip to content

Commit

Permalink
Merge pull request #17 from chrisryan/master
Browse files Browse the repository at this point in the history
Add Php 7 support, update minimum versions
  • Loading branch information
chadicus committed May 25, 2016
2 parents ddf5d09 + 1952c37 commit eb3b6b3
Show file tree
Hide file tree
Showing 5 changed files with 731 additions and 322 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/coverage/
/vendor/
/clover.xml
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php
php:
- 7.0
- 5.6
- 5.5
- 5.4
script: ./build.php
after_script: ./vendor/bin/coveralls -v
2 changes: 1 addition & 1 deletion build.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
$phpunitConfiguration = PHPUnit_Util_Configuration::getInstance(__DIR__ . '/phpunit.xml');
$phpunitArguments = ['coverageHtml' => __DIR__ . '/coverage', 'configuration' => $phpunitConfiguration];
$testRunner = new PHPUnit_TextUI_TestRunner();
$result = $testRunner->doRun($phpunitConfiguration->getTestSuiteConfiguration(), $phpunitArguments);
$result = $testRunner->doRun($phpunitConfiguration->getTestSuiteConfiguration(), $phpunitArguments, false);
if (!$result->wasSuccessful()) {
exit(1);
}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
],
"license": "MIT",
"require": {
"php": "~5.4"
"php": "~5.6 || ~7.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0",
"phpunit/phpunit": "~5.0",
"satooshi/php-coveralls": "~0.6.1",
"squizlabs/php_codesniffer": "~1.5"
},
Expand Down
Loading

0 comments on commit eb3b6b3

Please sign in to comment.