mirror of
https://github.com/j0k3r/php-readability.git
synced 2026-09-26 22:16:12 +00:00
Merge pull request #1 from j0k3r/php53
Adjust test & php compatible version
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 5.2
|
||||
- 5.3
|
||||
- 5.4
|
||||
- 5.5
|
||||
- 5.6
|
||||
|
||||
before_script:
|
||||
- composer self-update
|
||||
- echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
- composer install --prefer-dist --no-interaction
|
||||
|
||||
script:
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
"role": "Developer (original JS version)"
|
||||
}],
|
||||
"require": {
|
||||
"php": ">=5.2",
|
||||
"php": ">=5.4",
|
||||
"ext-tidy": ">=1.2"
|
||||
},
|
||||
"autoload": {
|
||||
|
||||
@@ -20,14 +20,6 @@ class ReadabilityTested extends Readability
|
||||
|
||||
class ReadabilityTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
protected function setUp()
|
||||
{
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
{
|
||||
}
|
||||
|
||||
public function testConstructDefault()
|
||||
{
|
||||
$readability = new ReadabilityTested('');
|
||||
|
||||
Reference in New Issue
Block a user