Commit Graph

36 Commits

Author SHA1 Message Date
Zach Borboa c58b8be799 Run test server for PHP 7.4 continuous integration tests 2020-02-19 17:28:57 -08:00
Zach Borboa 8b15ec5b43 Fix continuous integration tests for PHP 5.3.
Error message:
    PHP Fatal error:  Call to undefined method CurlTest\CurlTest::assertStringContainsString() in [...]
2020-02-17 16:08:23 -08:00
Zach Borboa 7340e8ede3 Fix continuous integration tests for PHP 5.3.
Error message:
    Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in [...]
2020-02-17 16:02:40 -08:00
Zach Borboa 947848bd2a Fix continuous integration tests for PHP 7.0.
There was 1 error:
    1) CurlTest\CurlTest::testMultipartFormDataContentType
    Error: Call to undefined method CurlTest\CurlTest::assertStringContainsString()
    ./tests/PHPCurlClass/PHPCurlClassTest.php:590

There was 1 failure:
    1) CurlTest\CurlTest::testRequiredOptionCurlOptReturnTransferEmitsWarning
    Failed asserting that exception of type "Error" matches expected exception "\PHPUnit\Framework\Error\Warning".
    Message was: "Call to undefined method CurlTest\CurlTest::expectWarning()" at
    ./tests/PHPCurlClass/PHPCurlClassTest.php:3036
2020-02-17 15:28:31 -08:00
Zach Borboa 702e4a13ea Fix continuous integration tests for PHP 7.1.
There was 1 failure:
    1) CurlTest\CurlTest::testRequiredOptionCurlOptReturnTransferEmitsWarning
    Failed asserting that exception of type "Error" matches expected exception "\PHPUnit\Framework\Error\Warning".
    Message was: "Call to undefined method CurlTest\CurlTest::expectWarning()" at
    ./tests/PHPCurlClass/PHPCurlClassTest.php:3036
2020-02-17 14:44:45 -08:00
Zach Borboa 76445a3c5a Update server used in PHP 5.4, 5.5, and 5.6 tests.
This change updates the server used for PHP 5.4, 5.5, and 5.6 tests in
order to support SEARCH requests. Using the PHP built-in web server in
these versions errors with 501 Not Implemented / Request method not
supported.
2019-05-24 08:29:21 -07:00
Zach Borboa 130b7a3f37 Fix error: "add-apt-repository: command not found". 2019-05-24 05:28:52 -07:00
Zach Borboa c36b2af2b0 Fix PHP 5.3 container test not completing successfully 2019-04-30 00:00:39 -07:00
Zach Borboa 7dd4258e02 Fix #562: Prevent direct execution of test server script unless testing 2019-01-05 12:09:03 -08:00
Zach Borboa 896ef82246 Fix #560: Run continuous integration tests on version 7.3 2018-12-09 20:01:47 -08:00
Zach Borboa 6acf768078 Add files to run php53 tests inside a docker container 2018-08-01 23:03:48 -07:00
Zach Borboa 03d773b916 Standardize calculating script directory 2018-04-27 23:56:51 -07:00
Zach Borboa 98ce5d3286 Use consistent naming convention 2018-04-27 23:54:34 -07:00
Zach Borboa 6ccc08caf7 Run continuous integration tests on version 7.2 2018-04-23 02:20:48 -07:00
Zach Borboa 7d59f67756 Fix unit test failure due to unresolvable dependencies.
Error 1:
  $ composer require phpunit/phpunit:5.7.*
  Your requirements could not be resolved to an installable set of packages.

Error 2:
  Fatal error: Uncaught Error: unknown class PHPUnit_Framework_TestCase in PHPCurlClassTest.php:9
2018-01-27 05:25:32 -08:00
Zach Borboa a470ce9cf1 Clean up 2017-10-12 23:27:17 -07:00
Zach Borboa 51aef1d3d6 Fix #449: Fix hhvm builds failing.
Install latest nginx.
Replace install_fastcgi.sh which inserts "include hhvm.conf;" with inline configuration.
Copy server scripts to default nginx root instead of modifying folder and file permissions to fix nginx 404 File Not Found.
2017-07-02 01:52:46 -07:00
Zach Borboa 3302e7bb78 Use an older version of PHPUnit for HHVM builds 2017-06-29 05:28:32 -07:00
Zach Borboa d04f0594e1 Add descriptive error messages when checks fail 2017-06-29 05:28:00 -07:00
Zach Borboa c16ce49f4f Add hhvm-nightly build and use trusty for hhvm builds 2017-06-28 04:43:48 -07:00
Zach Borboa ddac122a48 Fix php shim namespace 2017-05-01 00:20:53 -07:00
Zach Borboa d9b5e3ebd5 Fix PHPUnit 6.0 release causing build to break.
Use PHPUnit's new namespacing.
Add shim for backwards compatibility and run on PHP < 7.0.
2017-03-18 04:25:48 -07:00
Zach Borboa d2ee158c92 Display php version and curl version when running ci tests 2016-12-15 03:51:33 -08:00
Zach Borboa 5087433ba1 Start built-in web server for PHP 7.1 continuous integration tests 2016-09-02 17:27:05 -07:00
Zach Borboa 3dccf89046 Replace nginx restart with nginx stop, nginx start.
Fix "start: Job is already running: nginx" error. Abbreviated Output:
+sudo /usr/share/hhvm/install_fastcgi.sh
...
Restarting Nginx
Finished restarting Nginx
+sudo /etc/init.d/hhvm restart
 * Restarting HHVM FastCGI Daemon hhvm       +sudo service nginx restart
nginx start/running, process 5311
start: Job is already running: nginx
2016-03-28 03:40:25 -07:00
Zach Borboa f58366785c Start built-in web server for php 7.0 continuous integration tests 2016-01-16 02:59:46 -08:00
Zach Borboa d69cded020 Fix #254: CaseInsensitiveArray not found. 2015-10-20 21:54:53 -07:00
Zach Borboa 3bf046b197 Start built-in web server when running nightly continuous integration tests 2015-08-27 10:27:18 -07:00
Zach Borboa e46dc8146e Fix continuous integration tests for HHVM 2015-08-19 18:07:04 -07:00
Zach Borboa f9df529d07 Make before script executable 2015-02-22 13:47:32 +07:00
Zach Borboa 78ccb17a42 Fix #84: PHP 5.3 build failing 2014-10-19 03:56:19 -07:00
Zach Borboa a993a750c2 Update hhvm continuous integration installation 2014-08-18 09:44:18 -07:00
Zach Borboa 35fb672f22 Remove PHP 5.3 from continuous integration test allowed failures 2014-08-17 15:20:48 -07:00
Zach Borboa 007bea958f Fix #73: Add PHP 5.3 to continuous integration tests 2014-08-16 23:26:37 -07:00
Zach Borboa 462839d39f Replace HHVM's built-in webserver with Nginx for continuous integration tests 2014-07-24 10:46:10 -07:00
Zach Borboa 3b6debd09b Move before_script and script to files 2014-07-24 10:39:35 -07:00