mirror of
https://github.com/phpv8/v8js.git
synced 2025-03-15 23:27:01 +00:00
Valgrind checks for invalid memory accesses and memory leaks. "-m" makes php unit tests use valgrind (and malloc instead of emalloc, etc.)
19 lines
352 B
YAML
19 lines
352 B
YAML
language: php
|
|
sudo: required
|
|
dist: trusty
|
|
|
|
php:
|
|
- 7.0
|
|
|
|
env:
|
|
- V8VER=5.2
|
|
- V8VER=5.1
|
|
- V8VER=5.2 VALGRIND=1
|
|
|
|
before_install: make -f Makefile.travis before_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
|