0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 18:41:52 +00:00
phpv8/Makefile.travis

21 lines
381 B
Makefile
Raw Normal View History

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