Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit fb3482c

Browse files
authoredSep 4, 2017
Merge pull request #50 from pinepain/update-to-v8-63
Upgrade to libv8-6.3
2 parents 67fa362 + 74ce3ed commit fb3482c

File tree

162 files changed

+413
-232
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+413
-232
lines changed
 

‎.travis.yml

+12-30
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,22 @@
1-
sudo: required
21
dist: trusty
2+
sudo: required
33

4-
language: php
5-
6-
php:
7-
- 7.1
8-
- nightly
9-
10-
matrix:
11-
allow_failures:
12-
- php: nightly
4+
services:
5+
- docker
136

147
env:
158
global:
16-
- NO_INTERACTION=1
17-
- TEST_TIMEOUT=120
9+
- V8=6.3
1810
matrix:
19-
- V8=6.2
20-
- V8=6.2 TEST_PHP_ARGS=-m
11+
- TAG=xenial-v8-63-php-71
12+
- TAG=xenial-v8-63-php-71 TEST_PHP_ARGS=-m
13+
- TAG=xenial-v8-63-php-72
14+
- TAG=xenial-v8-63-php-72 TEST_PHP_ARGS=-m
2115

2216
before_install:
23-
- sudo add-apt-repository ppa:pinepain/libv8-${V8} -y
24-
- sudo apt-get update -q
25-
- sudo apt-get install -y libv8-${V8}-dev
26-
- php -i
27-
- php-config || true
28-
29-
before_script:
30-
- echo 'variables_order = "EGPCS"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
31-
- phpize && ./configure && make
17+
# docker on travis doesn't allow anything before FROM, let's fix that
18+
- sed -i -e "s/\${TAG}/$TAG/g" Dockerfile && sed -i -e '1,2d' Dockerfile
19+
- docker build -t ${TRAVIS_REPO_SLUG}:${V8}-${PHP} --build-arg TAG=${TAG} .
3220

3321
script:
34-
- sh -c "make test | tee result.txt"
35-
- sh test-report.sh
36-
37-
addons:
38-
apt:
39-
packages:
40-
- valgrind
22+
- docker run -e TEST_PHP_ARGS ${TRAVIS_REPO_SLUG}:${V8}-${PHP} bash -c "make test | tee result.txt; ./test-report.sh"

‎.valgrind-docker.supp

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
<docker_specific_report>
3+
Memcheck:Free
4+
fun:free
5+
fun:deallocate
6+
fun:deallocate
7+
fun:_M_destroy
8+
fun:_M_dispose
9+
fun:~basic_string
10+
...
11+
}

0 commit comments

Comments
 (0)
This repository has been archived.