Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit d9b7427

Browse files
authored
Merge pull request #766 from emirb/patch-1
Add PHP 7.1 to Travis build
2 parents 26bc142 + a854eb0 commit d9b7427

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ php:
55
- 5.5
66
- 5.6
77
- 7.0
8+
- 7.1
89
- hhvm
910

1011
sudo: false

tests/PseudoRandomString/McryptPseudoRandomStringGeneratorTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ class McryptPseudoRandomStringGeneratorTest extends \PHPUnit_Framework_TestCase
2929
{
3030
public function testCanGenerateRandomStringOfArbitraryLength()
3131
{
32+
if (version_compare(PHP_VERSION, '7.1', '>=')) {
33+
$this->markTestSkipped('Skipping test mcrypt is deprecated from 7.1');
34+
}
35+
3236
if (!function_exists('mcrypt_create_iv')) {
3337
$this->markTestSkipped(
3438
'Mcrypt must be installed to test mcrypt_create_iv().'

0 commit comments

Comments
 (0)