Commit Graph

85 Commits

Author SHA1 Message Date
Nikita Popov
56f11e2d1f Merge branch 'PHP-7.4'
* PHP-7.4:
  set -ex on travis/compile.sh
2020-08-03 14:48:40 +02:00
Nikita Popov
c0fac0357c Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  set -ex on travis/compile.sh
2020-08-03 14:48:18 +02:00
Santiago M. Mola
fdf6b0fefe set -ex on travis/compile.sh
-e to fail early: ./configure may fail and further errors from make bury
the original problem in the logs.

-x for easier debugging
2020-08-03 14:48:00 +02:00
Christoph M. Becker
4fa3687e56 Unbundle ext/xmlrpc
According to <https://wiki.php.net/rfc/unbundle_xmlprc> we unbundle
ext/xmlrpc.
2020-05-29 16:47:44 +02:00
Gerard Roche
cf3d3cd86f Fix PostgreSQL and MySQL setup on Travis CI
Note that the PostgreSQL tests still don't work on some architectures.

Closes GH-5607.
2020-05-22 10:02:57 +02:00
Sara Golemon
41a04f96b4
Remove dead checks for LOG_FILE paths, replace with CONFIG_ONLY option 2020-04-24 01:27:40 +00:00
George Peter Banyard
850feffac0 Add S390X architecture as a Travis job
This gives us a way to compile and test a big endian architecture.

Closes GH-5382.
2020-04-16 12:20:50 +02:00
Nikita Popov
7fc29c9924 Merge branch 'PHP-7.4'
* PHP-7.4:
  Enable ext/sodium in CI
  Add skipif for argon2id in test
2020-02-24 12:41:49 +01:00
Nikita Popov
2d15845ae1 Enable ext/sodium in CI 2020-02-24 12:41:30 +01:00
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
Nikita Popov
deb5226b31 Merge branch 'PHP-7.4' 2019-08-27 17:03:29 +02:00
Nikita Popov
c1fbc3900f Add --with-pear to Travis build 2019-08-27 17:03:21 +02:00
Joe Watkins
4fb595d8b7
Merge branch 'PHP-7.4'
* PHP-7.4:
  Enable option checking on CI
2019-07-03 08:16:47 +02:00
Peter Kokot
a45192e183
Enable option checking on CI
This adds the Autoconf's --enable-option-checking=fatal option so
when non existing option from the PHP's configure options is used
a fatal error happens.
2019-07-03 08:16:31 +02:00
Nikita Popov
9702e2332f Merge branch 'PHP-7.4' 2019-05-07 15:44:39 +02:00
Nikita Popov
7929f83078 Add --with-ffi on Travis 2019-05-07 15:44:22 +02:00
Nikita Popov
4c485586b4 Merge branch 'PHP-7.4' 2019-04-26 09:57:52 +02:00
Nikita Popov
33e8a7b368 Enable -Werror in CI
Add --enable-werror configure option and use it on Travis. It's not
possible to directly use CFLAGS, because it also affects configure
checks which often throw warnings.

We can't enable something similar for Windows builds at this time,
because they throw a lot more warnings.
2019-04-26 09:56:16 +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
Peter Kokot
bcb1c193d4 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove enable-wddx from Travis compile as it WDDX has been unbundled as of PHP 7.4
2019-03-23 23:26:08 +01:00
George Peter Banyard
6b362e063c Remove enable-wddx from Travis compile as it WDDX has been unbundled as of PHP 7.4 2019-03-23 23:23:21 +01: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
Fabien Villepinte
972a65c882 Replace --with-gd by --enable-gd for Travis 2019-03-04 14:48:09 +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
Eli Schwartz
285a077c12 ext/gd: use --with instead of --enable
By convention it probably makes sense to stick with this even when
dropping the *-dir=DIR part.

See:
https://github.com/php/php-src/pull/3632#discussion_r229474568
https://autotools.io/autoconf/arguments.html
2018-12-26 13:37:39 +01:00
Eli Schwartz
78e4f04752 ext/curl: port to pkg-config macro and consistently require its use
curl 7.15.1 in December 2006 first added pkg-config support, which is
earlier than the minimum supported version for php. This should
therefore be uiversally supported.
2018-12-09 17:28:02 +01:00
Nikita Popov
50e7e3a653 Use new option name in travis/compile.sh 2018-11-07 20:22:41 +01:00
Peter Kokot
1ad08256f3 Sync leading and final newlines in source code files
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-14 12:56:38 +02:00
Peter Kokot
1c850bfcca Sync leading and final newlines in source code files
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-14 12:55:24 +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
Nikita Popov
1a55c3607d Drop --without-libzip option from Travis
We need to build against the system libzip now.

Also add an UPGRADING note.
2018-09-18 12:16:55 +02:00
Remi Collet
8857161bf2 Use system libzip by default
Use --without-libzip in travis, as libzip version available there
is too old (0.10, while 0.11 is required, 1.3.0 is best)

The real plan is to really drop bundled libzip... delayed.
Notice: only system library have full features:
* encryption
* bzip support
2017-09-11 09:23:01 +02:00
Anatol Belski
9ce076a3d1 disable --with-pcre-valgrind on travis 2017-07-13 20:28:44 +02:00
Sara Golemon
847b36265a Enable more control over travis/compile.sh
This is also used by RM process to test the same things.
Allow generating build output (to a log file) and specifying
number of parallel jobs (rather than hard-code zero).

Leave all defaults as-is for Travis builds.
2017-04-18 11:33:06 -07:00
Nikita Popov
b3ca0c2500
zend-test extension to house code that is required for testing internal APIs, but that we would not want to expose for regular builds 2017-03-12 18:58:50 +00:00
Leigh
bc4676e050 Remove mcrypt 2016-10-04 13:20:36 +01:00
Nikita Popov
1d5744027e Disable PEAR in Travis build 2015-12-05 22:48:29 +01:00
Ferenc Kovacs
131a348d37 remove imap tests for now until I finish the sudoless dovecot config 2015-10-19 23:57:43 +02:00
Ferenc Kovacs
fa0ffa4777 remove imap tests for now until I finish the sudoless dovecot config 2015-10-19 23:43:26 +02:00
Ferenc Kovacs
03e1e88db1 Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
  fixup, both catched by nikic
  use another character device in this test as /dev/console seems that it is different for lxc containers
  the de_DE(iso-8859-1) locale is not available on ubuntu by default, but there is no reason to require that over the utf-8 one
  let's try running our testsuite without sudo
2015-10-19 23:02:52 +02:00
Ferenc Kovacs
395ef4efb7 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixup, both catched by nikic
  use another character device in this test as /dev/console seems that it is different for lxc containers
  the de_DE(iso-8859-1) locale is not available on ubuntu by default, but there is no reason to require that over the utf-8 one
  let's try running our testsuite without sudo
2015-10-19 22:47:23 +02:00
Ferenc Kovacs
95a0b11d0a fixup, both catched by nikic 2015-08-24 17:02:25 +02:00