Merge pull request #41 from j0k3r/testing-7.2-7.3

Updating to 7.2
pull/43/head 1.1.11
Jérémy Benoist 7 years ago committed by GitHub
commit eef6d6d456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      .travis.yml
  2. 2
      tests/ReadabilityTest.php

@ -6,8 +6,8 @@ php:
- 7.0 - 7.0
- 7.1 - 7.1
- 7.2 - 7.2
- 7.3
- nightly - nightly
- hhvm
matrix: matrix:
include: include:
@ -24,12 +24,8 @@ matrix:
env: CS_FIXER=run env: CS_FIXER=run
fast_finish: true fast_finish: true
allow_failures: allow_failures:
- php: 7.2 - php: 7.3
- php: nightly - php: nightly
- php: hhvm
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs # cache vendor dirs
cache: cache:
@ -43,14 +39,12 @@ before_install:
# see: https://blog.travis-ci.com/upcoming_ubuntu_11_10_migration/ # see: https://blog.travis-ci.com/upcoming_ubuntu_11_10_migration/
- if [[ $TRAVIS_PHP_VERSION = 5.3.3 ]]; then composer config -g -- disable-tls true; fi; - if [[ $TRAVIS_PHP_VERSION = 5.3.3 ]]; then composer config -g -- disable-tls true; fi;
- if [[ $TRAVIS_PHP_VERSION = 5.3.3 ]]; then composer config -g -- secure-http false; fi; - if [[ $TRAVIS_PHP_VERSION = 5.3.3 ]]; then composer config -g -- secure-http false; fi;
# no version compatible with PHP > 7.1
- if [[ $TRAVIS_PHP_VERSION = 7.2.* ]]; then composer remove friendsofphp/php-cs-fixer; fi;
install: install:
- composer self-update - composer self-update
before_script: before_script:
- composer install --prefer-dist --no-interaction - composer install -o --prefer-dist --no-interaction
script: script:
- mkdir -p build/logs - mkdir -p build/logs

@ -6,7 +6,7 @@ use Monolog\Handler\TestHandler;
use Monolog\Logger; use Monolog\Logger;
use Readability\Readability; use Readability\Readability;
class ReadabilityTest extends \PHPUnit_Framework_TestCase class ReadabilityTest extends \PHPUnit\Framework\TestCase
{ {
public $logHandler; public $logHandler;
public $logger; public $logger;

Loading…
Cancel
Save