Skip to content

Commit e7c227a

Browse files
authored
Merge pull request #66 from mondrake/patch-1
Enable TravisCI testing on PHP 7.1, 7.2 and nightly
2 parents 7601488 + 9391a41 commit e7c227a

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ php:
99
- 5.5
1010
- 5.6
1111
- 7.0
12+
- 7.1
13+
- 7.2
14+
- nightly
1215
- hhvm
1316

1417
matrix:
1518
allow_failures:
19+
- php: nightly
1620
- php: hhvm
1721
fast_finish: true
1822

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"bin-dir": "bin"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "^4.8"
22+
"phpunit/phpunit": "^4.8.35 || 5.* || 6.*"
2323
}
2424
}

tests/FontLib/FontTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
namespace FontLib\Tests;
44

55
use FontLib\Font;
6+
use PHPUnit\Framework\TestCase;
67

7-
class FontTest extends \PHPUnit_Framework_TestCase
8+
class FontTest extends TestCase
89
{
910
/**
1011
* @expectedException \Fontlib\Exception\FontNotFoundException
@@ -45,4 +46,4 @@ public function test12CmapFormat()
4546
$this->assertEquals(53, count($cmapFormat12Table['glyphIndexArray']));
4647
}
4748

48-
}
49+
}

0 commit comments

Comments
 (0)