travis oddity under php 7
| From: | Daniel Convissor | Date: | Fri, 20 Nov 2015 17:58:47 +0000 |
| Subject: | travis oddity under php 7 | ||
| Groups: | php.pear.qa | ||
| Request: | Send a blank email to pear-qa+get-6198@lists.php.net to get a copy of this message | ||
Hi Folks:
I'm undergoing peace negotiatons between DB and PHP 7. Pretty much
done. (Syria is next.) But I've run into some strange things with the
unit tests on Travis CI. The --SKIPIF-- section doesn't work under
PHP 7.
I put the following in driver/21freeResult.phpt
die("skip for everyone, note that phptype = $dbh->phptype");
Under PHP 5.6 on Travis CI it skips as expected:
https://travis-ci.org/pear/DB/jobs/92308330
SKIP DB_driver::freeResult[tests/driver/21freeResult.phpt](reason: for
everyone, note that phptype = mysqli)
Under PHP 7 on Travis CI the test executes:
https://travis-ci.org/pear/DB/jobs/92308331
FAIL [25/25] DB_driver::freeResult[tests/driver/21freeResult.phpt]
On my local machine running PHP 7, it skips as expected.
Any ideas?
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/