0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-01-24 09:41:52 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Tyson Andre
1ec2a57e44 Make valgrind run on travis tests of v8js
Valgrind checks for invalid memory accesses and memory leaks.

"-m" makes php unit tests use valgrind (and malloc instead of emalloc, etc.)
(Takes around 20 minutes)

Also support testing v8js with NTS (The default used by Travis is ZTS)
One of the builds will download and install PHP. This will be cached.

- This reproduces #247 on travis
- For details on travis build caching, see
  https://docs.travis-ci.com/user/caching/#Pull-request-builds-and-caches

Skip memory and time limit tests - Those are flaky with valgrind.

The tests fail but don't have memory leaks.
(When https://github.com/phpv8/v8js/pull/248 was tested)

Use 5.7 (earliest ppa >= 5.6) for running valgrind checks.

Fix ppa checks - The installation folder changed to /opt/libv8-5.7

- run tests both with and without valgrind in libv8 5.7
  Otherwise, time limits and memory limits wouldn't be tested at all in 5.7

Always pass strings for splitting environment variables by spaces.
2017-03-05 20:17:56 -08:00
Stefan Siegl
28ac5a30ae Fix travis build 2016-05-26 23:23:25 +02:00
Stefan Siegl
9dc1caa5de Update travis config 2016-05-26 22:46:38 +02:00
C. Scott Ananian
99a1d54e9e Travis config update: compile against minimum supported v8 and most recent v8. 2013-10-27 02:49:24 -04:00
C. Scott Ananian
0948795d36 Travis config update: Partial fix for issue #56. 2013-10-25 17:43:36 -04:00
C. Scott Ananian
d75fc4a142 Hookup Travis continous integration test server. 2013-10-12 01:19:14 -04:00