Skip to content

Commit

Permalink
Merge pull request #66 from mondrake/patch-1
Browse files Browse the repository at this point in the history
Enable TravisCI testing on PHP 7.1, 7.2 and nightly
  • Loading branch information
PhenX authored Apr 14, 2018
2 parents 7601488 + 9391a41 commit e7c227a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
- hhvm

matrix:
allow_failures:
- php: nightly
- php: hhvm
fast_finish: true

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"bin-dir": "bin"
},
"require-dev": {
"phpunit/phpunit": "^4.8"
"phpunit/phpunit": "^4.8.35 || 5.* || 6.*"
}
}
5 changes: 3 additions & 2 deletions tests/FontLib/FontTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace FontLib\Tests;

use FontLib\Font;
use PHPUnit\Framework\TestCase;

class FontTest extends \PHPUnit_Framework_TestCase
class FontTest extends TestCase
{
/**
* @expectedException \Fontlib\Exception\FontNotFoundException
Expand Down Expand Up @@ -45,4 +46,4 @@ public function test12CmapFormat()
$this->assertEquals(53, count($cmapFormat12Table['glyphIndexArray']));
}

}
}

0 comments on commit e7c227a

Please sign in to comment.