Skip to content

Commit 0cf3ae5

Browse files
committed
Merge pull request php-curl-class#230 from zachborboa/master
Fix continuous integration tests for HHVM
2 parents 5f7c12e + e46dc81 commit 0cf3ae5

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ php:
1010

1111
matrix:
1212
allow_failures:
13-
- php: hhvm
1413
- php: nightly
1514

1615
before_script:

tests/PHPCurlClass/PHPMultiCurlClassTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,12 @@ public function testBasicHttpAuthSuccess()
16141614

16151615
public function testDigestHttpAuthSuccess()
16161616
{
1617+
// Skip Digest Access Authentication test on HHVM.
1618+
// https://github.com/facebook/hhvm/issues/5201
1619+
if (defined('HHVM_VERSION')) {
1620+
return;
1621+
}
1622+
16171623
$username = 'myusername';
16181624
$password = 'mypassword';
16191625
$invalid_password = 'anotherpassword';

tests/before_script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,6 @@ server {
4646
}
4747
EOF
4848
sudo /usr/share/hhvm/install_fastcgi.sh
49+
sudo /etc/init.d/hhvm restart
50+
sudo service nginx restart
4951
fi

0 commit comments

Comments
 (0)