2013-10-12 03:58:32 +00:00
|
|
|
# Configure and build scripts for travis CI system
|
2016-05-26 20:46:38 +00:00
|
|
|
V8VER ?= 5.1
|
2013-10-12 03:58:32 +00:00
|
|
|
|
|
|
|
export NO_INTERACTION=1
|
2013-10-25 21:43:36 +00:00
|
|
|
export REPORT_EXIT_STATUS=1
|
2013-10-12 03:58:32 +00:00
|
|
|
|
|
|
|
before_install:
|
2016-05-26 20:46:38 +00:00
|
|
|
sudo add-apt-repository ppa:pinepain/libv8-$(V8VER) -y
|
|
|
|
sudo apt-get update -q
|
2013-10-12 03:58:32 +00:00
|
|
|
|
|
|
|
install:
|
2016-05-26 21:04:28 +00:00
|
|
|
sudo apt-get install -y libv8-$(V8VER)-dev
|
2013-10-12 03:58:32 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
phpize
|
2017-03-11 13:12:36 +00:00
|
|
|
./configure CXXFLAGS="-Wall -Wno-write-strings -Werror"
|
2016-05-26 20:46:38 +00:00
|
|
|
$(MAKE) -j3
|
2013-10-12 03:58:32 +00:00
|
|
|
|
|
|
|
test: build
|
|
|
|
$(MAKE) test
|