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

Commit c7c8e91

Browse files
committed
Add travis ci config file
1 parent e9cea46 commit c7c8e91

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.travis.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
sudo: required
2+
dist: trusty
3+
4+
language: php
5+
6+
php:
7+
- 7.0
8+
# - 7.1
9+
- nightly
10+
11+
matrix:
12+
allow_failures:
13+
- php: nightly
14+
15+
env:
16+
global:
17+
- NO_INTERACTION=1
18+
- TEST_TIMEOUT=120
19+
matrix:
20+
- V8=5.2
21+
- V8=5.2 TEST_PHP_ARGS=-m
22+
23+
before_install:
24+
- sudo add-apt-repository ppa:pinepain/libv8-${V8} -y
25+
- sudo apt-get update -q
26+
- sudo apt-get install -y libv8-${V8}-dev
27+
28+
before_script:
29+
- phpize && ./configure && make
30+
31+
script:
32+
- sh -c "make test | tee result.txt"
33+
- sh test-report.sh
34+
35+
addons:
36+
apt:
37+
packages:
38+
- valgrind

0 commit comments

Comments
 (0)