Adjust test & php compatible version

This commit is contained in:
Jeremy
2014-12-12 12:13:35 +01:00
parent 881e441bdf
commit b81cf8d1c5
3 changed files with 7 additions and 18 deletions
+6 -9
View File
@@ -1,16 +1,13 @@
language: php language: php
php: php:
- 5.2 - 5.4
- 5.3 - 5.5
- 5.4 - 5.6
- 5.5
- 5.6
before_script: before_script:
- composer self-update - composer self-update
- echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - composer install --prefer-dist --no-interaction
- composer install --prefer-dist --no-interaction
script: script:
- phpunit --coverage-text - phpunit --coverage-text
+1 -1
View File
@@ -24,7 +24,7 @@
"role": "Developer (original JS version)" "role": "Developer (original JS version)"
}], }],
"require": { "require": {
"php": ">=5.2", "php": ">=5.4",
"ext-tidy": ">=1.2" "ext-tidy": ">=1.2"
}, },
"autoload": { "autoload": {
-8
View File
@@ -20,14 +20,6 @@ class ReadabilityTested extends Readability
class ReadabilityTest extends \PHPUnit_Framework_TestCase class ReadabilityTest extends \PHPUnit_Framework_TestCase
{ {
protected function setUp()
{
}
protected function tearDown()
{
}
public function testConstructDefault() public function testConstructDefault()
{ {
$readability = new ReadabilityTested(''); $readability = new ReadabilityTested('');