Commit Graph

114 Commits

Author SHA1 Message Date
Nikita Popov
75279b50a5 Merge branch 'PHP-7.4'
* PHP-7.4:
  Add ARM64 CI to Travis
2019-10-25 16:38:13 +02:00
Nikita Popov
bd379df48c Add ARM64 CI to Travis
We need to install a number of additional packages that are installed
by default on the AMD64 workers.

We also have to manually set up the MySQL user.

For now we don't set up Postgres -- if anyone wants to figure that
out, it would be great ;)

Log redirections in compile.sh are removed, because /dev/stdout is
not accessible. We don't see to use this anyway.
2019-10-25 16:37:46 +02:00
Nikita Popov
711e2a1216 Merge branch 'PHP-7.4'
* PHP-7.4:
  Check class linking in VERIFY_RETURN_TYPE optimization
  Simplify travis setup scripts
2019-10-25 11:25:49 +02:00
Nikita Popov
a8b4e40fa2 Simplify travis setup scripts
Reduce duplication.
2019-10-25 11:15:27 +02:00
Gabriel Caruso
202158e2cd
Merge branch 'PHP-7.4'
* PHP-7.4:
  Use nproc instead of hardcoded number
2019-09-25 00:07:09 +02:00
Gabriel Caruso
3205ebefa3
Use nproc instead of hardcoded number 2019-09-25 00:02:59 +02:00
Peter Kokot
7b727607d4 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove unused recode extension artefacts
2019-07-13 14:53:07 +02:00
Peter Kokot
f3cf8966be Remove unused recode extension artefacts
Closes GH-4395
2019-07-13 14:52:36 +02:00
Nikita Popov
e94a71b7f1 Enable JIT in Travis build
All tests should pass now.
2019-05-29 14:06:28 +02:00
Nikita Popov
2b7dd211a9 Merge branch 'PHP-7.4' 2019-04-18 12:59:12 +02:00
Nikita Popov
05c2e87e84 Merge branch 'PHP-7.3' into PHP-7.4 2019-04-18 12:59:05 +02:00
Nikita Popov
b2f49c69b1 Add a dl() test to Travis
Compile the zend_test extension as shared and try loading it with dl()
to test for obvious issues. Doing this as a standalone call because this
is very specific to the CI setup.
2019-04-18 12:57:54 +02:00
Nikita Popov
2370d56334 Merge branch 'PHP-7.4' 2019-04-12 10:06:14 +02:00
Nikita Popov
0f777c768c Run compile step under travis_wait
If there are no warnings, we may end up compiling more than 10
minutes without output, in which case the build times out. Use
travis_wait to avoid this.
2019-04-12 10:05:15 +02:00
Joe Watkins
161adfff3f
For consistency with Windows, and because ZTS is not experimental or a "maintainer" feature, this commits renames --enable-maintainer-zts to --enable-zts in the autotools build, and related documentation 2019-03-23 07:34:54 +01:00
Nikita Popov
10e189de76 Enable parallel tests on Travis
I'll keep an eye on spurious failures resulting from this.
2019-02-20 12:19:01 +01:00
Nikita Popov
d1c1481081 Unbundle oniguruma
And also switch detection over to pkg-config.
2019-02-11 14:53:19 +01:00
Nikita Popov
19d8a6b771 Migrate ext/gd to pkg-config
* --with-webp-dir becomes --with-webp
* --with-jpeg-dir becomes --with-jpeg
* --with-png-dir is removed. libpng is required.
* --with-zlib-dir is removed. zlib is required.
* --with-xpm-dir becomes --with-xpm.

We also enable --with-webp on Travis.
2019-01-15 10:15:05 +01:00
Stanislav Malyshev
3d8d13f7b9 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix bug #77143 - add more checks to buffer reads
  Fix bug #77143 - add more checks to buffer reads
  Fix #77020: null pointer dereference in imap_mail
  Don't need interactive progress on git clones in Travis
  Fix TSRM signature - php_stream_stat macro has it's own TSRM
  Regenerate certificates for openssl tests
  Improve test for bug77022
2018-12-03 00:42:55 -08:00
Stanislav Malyshev
3faac769fa Merge branch 'PHP-7.2'
* PHP-7.2:
  Don't need interactive progress on git clones in Travis
2018-12-02 16:05:14 -08:00
Stanislav Malyshev
1f78b1dfd0 Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Don't need interactive progress on git clones in Travis
2018-12-02 16:04:33 -08:00
Philip Prindeville
61af343768 Don't need interactive progress on git clones in Travis
Travis logs are usually inspected after the build completes, by which time
progress info is useless.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-12-02 16:04:22 -08:00
Nikita Popov
59cec6e67d Run CI tests under opcache.protect_memory=1 2018-10-17 16:10:47 +02:00
Peter Kokot
37c329d715 Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
Peter Kokot
3362620b5f Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
Peter Kokot
902d39a3a7 Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
Peter Kokot
7f6387b59a Trim trailing whitespace in source code files 2018-10-13 14:12:55 +02:00
Christoph M. Becker
6083a387a8 Unbundle libsqlite3
Since there is no need to patch libsqlite3 for our purposes, and since
libsqlite3 ≥ 3.3.9 (which is our current requirement) is widely
available on distros, there is no reason anymore to bundle the library.

Besides removing the bundled libsqlite, and adapting the configuration
respectively, we also fix the use of the SQLITE_ENABLE_COLUMN_METADATA
compile time constant to detect whether sqlite3_column_table_name() is
available by a working feature detection (otherwise bug_42589.phpt
would fail).  We also skip bug73068.phpt for libsqlite 3.11.0 to
3.14.1 which have a bug (<https://sqlite.org/src/info/ef360601>).

We also completely drop support for the obscure pdo_sqlite_external
extension (which could have been enabled on Windows only by passing
`--pdo-sqlite-external` to configure), since it is not needed anymore.

Furthermore, we remove references to the bundled libsqlite from
Makefile.gcov, CONTRIBUTING.md and README.REDIST.BINS.
2018-10-06 12:36:55 +02:00
Nikita Popov
70d47b3c4a Switch Travis build to Xenial
Also explicitly start the mysql and pgsql services, as these are
no longer running by default.
2018-09-17 17:10:49 +02:00
Nikita Popov
cc6871152b Don't install libt1-dev on travis
Support for libt1 has been removed from ext/gd in PHP 7.0 by
7dcfdbbee4, so we no longer need
to install this package. It is also no longer available on newer
Ubuntu versions.
2018-09-17 13:48:39 +02:00
Christoph M. Becker
5f5cf8cb94 Merge branch 'PHP-7.2'
* PHP-7.2:
  Fix Travis build
2018-07-12 13:47:11 +02:00
Christoph M. Becker
77ced46dea Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Fix Travis build
2018-07-12 13:46:10 +02:00
Christoph M. Becker
236ae06e0b Fix Travis build
As of commit f9d1d1f[1] we require `sudo`, so we tell Travis about it.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=f9d1d1f>
2018-07-12 13:45:30 +02:00
Jakub Zelenka
8c3b0455ee Merge branch 'PHP-7.2' 2018-06-10 14:34:23 +01:00
Jakub Zelenka
bca6d373fc Merge branch 'PHP-7.1' into PHP-7.2 2018-06-10 14:33:28 +01:00
Jakub Zelenka
f9d1d1f36f Enable IPv6 in Travis 2018-06-08 20:09:33 +01:00
Ferenc Kovacs
8876a12d0b Merge branch 'PHP-7.2' 2017-10-25 03:23:34 +02:00
Ferenc Kovacs
92dd3df148 Merge branch 'PHP-7.1' into PHP-7.2 2017-10-25 03:20:34 +02:00
Ferenc Kovacs
9e47f868d3 Merge branch 'PHP-7.0' into PHP-7.1 2017-10-25 03:17:14 +02:00
Ferenc Kovacs
b53fb886a4 use trusty explicitly 2017-10-25 03:14:51 +02:00
Ferenc Kovacs
6125ce9d33 Merge branch 'PHP-5.6' into PHP-7.0 2017-10-25 03:13:40 +02:00
Ferenc Kovacs
787e3a1ee4 fix the travis build for PHP-5.6 using precise instead of trusty 2017-10-25 01:51:48 +02:00
Ferenc Kovacs
9839d3a953 fix the travis build for PHP-5.6 using precise instead of trusty 2017-10-25 01:47:50 +02:00
Remi Collet
8f38993db7 Revert "try to switch to something more recent than a 5 years old distro..."
This reverts commit d6432546bf.
2017-09-07 15:17:28 +02:00
Remi Collet
d6432546bf try to switch to something more recent than a 5 years old distro... 2017-09-07 15:13:48 +02:00
Remi Collet
b2a3ba5802 add libzip-dev for travis build 2017-09-07 14:34:09 +02:00
Remi Collet
90b2cecbaa Remove this for now, as not found
"E: Unable to locate package libsodium-dev"
2017-07-11 07:52:28 +02:00
Paragon Initiative Enterprises
5cfa26c181 Squashed commit - Add ext/sodium
RFC: https://wiki.php.net/rfc/libsodium
Licensing: https://web.archive.org/web/20170710161517/https://github.com/jedisct1/libsodium-php/issues/127
2017-07-11 07:25:50 +02:00
Nikita Popov
c94773124d Merge branch 'PHP-7.1' 2017-06-03 12:39:50 +02:00
Nikita Popov
6b511d124e Travis: Use opcache in release build
Our debug builds on Travis are often timing out recently. Opcache
causes quite a large performance hit on test run times, so move it
over to the release build, where it should have less impact.
2017-06-03 12:37:47 +02:00