Commit Graph

130 Commits

Author SHA1 Message Date
Ilija Tovilo
ccca59728e
Move ARM64 build to Cirrus
Travis is very unreliable lately

Closes GH-10795
2023-03-15 01:35:01 +01:00
Nikita Popov
7eec57c263
Test ARM64 JIT on Travis (#7157)
Run tests with tracing JIT, function JIT and tracing JIT under --repeat 2.

As the overall build with three test runs only takes ~15m, I'm enabling this unconditionally, rather than just for nightly builds.
2021-06-16 17:13:46 +02:00
Nikita Popov
7aa0d74398 Use non-cron builds on travis
Per https://docs.travis-ci.com/user/billing-overview/#partner-queue-solution
it's possible to use arm64, ppc64le and s390x without consuming
credits, as these are part of "Partner Queue Solution".

Try running these jobs unconditionally, rather than as cron jobs.
This also requires switching from arm64-graviton2 back to arm64,
as this doesn't seem to extend to arm64-graviton2.
2021-06-11 09:52:19 +02:00
Janakarajan Natarajan
4a68067c10
Use arm64-graviton2 on Travis (#7016) 2021-05-25 15:30:54 +02:00
Nikita Popov
d0fd118f9b Remove AMD64 jobs from Travis
We're only interested in the ARM64 and S390X jobs, x86 is already
extensively tested on Azure.
2021-04-15 15:16:18 +02:00
Nikita Popov
8b281e5b6b Only use travis for cron jobs
Our primary CI has been Azure Pipelines for a while now already.
Travis was primarily retained as a) a fast feedback builder and
b) to test architectures not available elsewhere.

Due to Travis CI open source policy changes, Travis is no longer
useful as a fast feedback builder. As such, only use it for cron
job builds.
2020-11-27 14:15:34 +01:00
Nikita Popov
9f074a5c31 Move arm64 job to cron
As we're branching soon, reduce the number of jobs we run on each
commit, so that Travis can keep up with its role as the fast
feedback build.
2020-09-21 12:42:48 +02:00
Nikita Popov
edc8dec675 Reenable s390x on travis
Only enable it for cron builds. We don't need to run exotic
architectures on every commit and PR.

Closes GH-6076.
2020-09-04 17:03:32 +02:00
Nikita Popov
c0d6b05b68 Update travis to bionic 2020-09-04 14:18:58 +02:00
Nikita Popov
069bd49b02 Temporarily disable s390x job
These aren't getting scheduled and just keep hogging jobs so
nothing else gets scheduled either.
2020-08-05 19:58:44 +02:00
Nikita Popov
0e0c608ce0 Merge branch 'PHP-7.4'
* PHP-7.4:
  Reduce test parallelism on ARM64 CI
2020-04-29 15:16:36 +02:00
Nikita Popov
7e14e03374 Reduce test parallelism on ARM64 CI
Let's go from 32 to 16 parallel jobs. We can reduce this further
if necessary.

Closes GH-5426.
2020-04-29 15:15:57 +02: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
George Peter Banyard
0aad7999e7 Update Travis build config
The sudo key is deprecated and doesn't do anything anymore.

Adding the "os" key with default value "linux" which was assumed to the build config.
2020-02-23 03:27:05 +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
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