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

21 lines
381 B
Makefile

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