Commit Graph

47 Commits

Author SHA1 Message Date
Peter Kokot
60a69daec6 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:54:08 +02:00
Peter Kokot
902d39a3a7 Trim trailing whitespace in source code files 2018-10-13 14:14:50 +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
Ferenc Kovacs
85d34c3264 let's try running our testsuite without sudo 2015-08-23 22:47:51 +02:00
Nikita Popov
981c618749 Remove --with-t1lib from travis build 2015-07-17 19:08:08 +02:00
Ferenc Kovacs
8f244220b5 Merge branch 'PHP-5.6'
* PHP-5.6:
  add pear to the travis build
2015-03-20 13:34:55 +01:00
Ferenc Kovacs
95c3a4798f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add pear to the travis build
2015-03-20 13:34:35 +01:00
Ferenc Kovacs
9ff99059b1 add pear to the travis build 2015-03-20 13:34:16 +01:00
Anatol Belski
59a2a900a5 remove ext/mysql enablement from travis build 2015-03-16 20:05:40 +01:00
Ferenc Kovacs
0be776b1fe Merge branch 'PHP-5.6'
* PHP-5.6:
  oops, forgot sudo for make install
2015-02-10 11:18:43 +01:00
Ferenc Kovacs
5e1bb07701 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  oops, forgot sudo for make install
2015-02-10 11:18:34 +01:00
Ferenc Kovacs
bf9fb65001 oops, forgot sudo for make install 2015-02-10 11:18:19 +01:00
Ferenc Kovacs
f4880774b6 Merge branch 'PHP-5.6'
* PHP-5.6:
  add make install
2015-02-10 10:36:45 +01:00
Ferenc Kovacs
ac54df17df Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add make install

Conflicts:
	travis/compile.sh
2015-02-10 10:36:25 +01:00
Ferenc Kovacs
a8d001aedf add make install 2015-02-10 10:34:52 +01:00
Stanislav Malyshev
14d6de97c5 add imap 2015-01-28 10:15:11 -08:00
Ferenc Kovacs
f8e7b3d166 Merge branch 'PHP-5.6'
* PHP-5.6:
  add initial install
  switch to C travis project instead of PHP
  use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/)
2014-12-04 11:12:42 +01:00
Ferenc Kovacs
9c5d84ace1 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  add initial install
  switch to C travis project instead of PHP
  use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/)
2014-12-04 11:12:32 +01:00
Ferenc Kovacs
a8b49bbf18 add initial install 2014-12-04 00:13:38 +01:00
Bob Weinand
444b465f3d Re-add phpdbg to travis 2014-10-24 19:32:35 +02:00
Lior Kaplan
d91b1ef7b8 phpdbg doesn't build due to the phpng merge, distable it 2014-08-20 12:13:36 +03:00
Stanislav Malyshev
41448bff7c Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  create locales and re-add test

Conflicts:
	.travis.yml
2014-07-07 10:42:13 -07:00
Stanislav Malyshev
5516963633 create locales and re-add test 2014-07-07 10:34:43 -07:00
Stanislav Malyshev
7bb86f8a6b add more exts for Travis 2014-07-05 19:59:26 -07:00
Ferenc Kovacs
3ec93ee19f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  --enable-fpm for the travis build
2014-06-30 12:30:49 +02:00
Ferenc Kovacs
803cfe32e6 --enable-fpm for the travis build 2014-06-30 12:30:24 +02:00
Ferenc Kovacs
5ec5c80dc4 enable phpdbg for the travis build, and also run the testsuite for it 2014-06-09 15:30:09 +02:00
Stanislav Malyshev
e9be93b333 make release tags not fail Travis CI 2014-05-08 01:11:29 -07:00
Ferenc Kovacs
ea1d42641c separate travis jobs for debug and non-debug builds 2014-04-29 16:09:51 +02:00
Ferenc Kovacs
4cad8fcad2 separate travis jobs for TS and NTS builds 2014-04-29 16:09:42 +02:00
Stanislav Malyshev
b576cbbf05 enable gmp for tests 2014-04-28 00:56:22 -07:00
Stanislav Malyshev
f57a722c85 add openssl 2013-08-24 19:38:46 -07:00
Stanislav Malyshev
f31d6bc0d9 add mysql settings 2013-08-24 19:38:30 -07:00
Stanislav Malyshev
76fd13f742 use mysqlnd, some tests fail otherwise 2013-08-11 01:36:59 -07:00
Nikita Popov
48f4096917 Travis: Silence configure and make
The large compile logs are hurting the poor browsers.

This also drops two bogus configure options.
2012-08-26 17:46:01 +02:00
Davey Shafik
e2ebe6ce4e Add curl extension config, uses cli-server to test 2012-05-28 06:22:25 -04:00
Davey Shafik
0fe8b495ad Add extension configs, compile more extensions 2012-05-28 06:22:25 -04:00
Davey Shafik
3966df7fc8 Add support for Travis CI 2012-05-28 06:22:24 -04:00