File tree Expand file tree Collapse file tree 2 files changed +14
-24
lines changed
Expand file tree Collapse file tree 2 files changed +14
-24
lines changed Original file line number Diff line number Diff line change 11language : php
2+ sudo : required
3+ dist : trusty
4+
25php :
3- - 5.6
4- - 5.5
5- - 5.4
6- - 5.3
6+ - 7.0
7+
78env :
8- - V8VER=3.22.22
9- - V8VER=3.21.12
9+ - V8VER=5.2
10+ - V8VER=5.1
11+
1012before_install : make -f Makefile.travis before_install
1113install : make -f Makefile.travis install
1214script : make -f Makefile.travis test
Original file line number Diff line number Diff line change 11# Configure and build scripts for travis CI system
2- V8VER ?= 3.22.10
3- CPPVER ?= 4.6
4-
5- export CXX=g++-$(CPPVER)
6- export LINK=g++-$(CPPVER)
2+ V8VER ?= 5.1
73
84export NO_INTERACTION=1
95export REPORT_EXIT_STATUS=1
106
117before_install:
12- sudo apt-get update
8+ sudo add-apt-repository ppa:pinepain/libv8-$(V8VER) -y
9+ sudo apt-get update -q
1310
14- # install dependencies (php5, v8)
1511install:
16- sudo apt-get install php5-cli php5-dev g++-$(CPPVER)
17- -$(RM) -rf $(V8VER).tar.gz v8-$(V8VER) v8-build
18- wget https://github.com/v8/v8/archive/$(V8VER).tar.gz
19- tar -xzf $(V8VER).tar.gz
20- $(MAKE) -C v8-$(V8VER) dependencies
21- $(MAKE) -C v8-$(V8VER) native library=shared -j4
22- mkdir -p v8-build/lib v8-build/include
23- cp v8-$(V8VER)/out/native/lib.target/lib*.so v8-build/lib/
24- cp v8-$(V8VER)/include/v8* v8-build/include/
12+ sudo apt-get install php7.0-cli php7.0-dev libv8-$(V8VER)-dev
2513
2614build:
2715 phpize
28- ./configure --with-v8js=$(realpath ./v8-build)
29- $(MAKE)
16+ ./configure
17+ $(MAKE) -j3
3018
3119test: build
3220 $(MAKE) test
You can’t perform that action at this time.
0 commit comments