0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 23:51:51 +00:00

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.)
This commit is contained in:
Tyson Andre 2016-08-01 14:26:45 -07:00
parent 4161008417
commit 3e862b1aa1

View File

@ -8,7 +8,11 @@ php:
env: env:
- V8VER=5.2 - V8VER=5.2
- V8VER=5.1 - V8VER=5.1
- V8VER=5.2 VALGRIND=1
before_install: make -f Makefile.travis before_install before_install: make -f Makefile.travis before_install
install: make -f Makefile.travis install install:
- if [ "$VALGRIND" = 1 ]; then sudo apt-get install -qq valgrind; export TEST_PHP_ARGS="-m"; fi
- make -f Makefile.travis install
script: make -f Makefile.travis test script: make -f Makefile.travis test