Makefile.travis 381 B

1234567891011121314151617181920
  1. # Configure and build scripts for travis CI system
  2. V8VER ?= 5.1
  3. export NO_INTERACTION=1
  4. export REPORT_EXIT_STATUS=1
  5. before_install:
  6. sudo add-apt-repository ppa:pinepain/libv8-$(V8VER) -y
  7. sudo apt-get update -q
  8. install:
  9. sudo apt-get install -y libv8-$(V8VER)-dev
  10. build:
  11. phpize
  12. ./configure CXXFLAGS="-Wall -Wno-write-strings -Werror"
  13. $(MAKE) -j3
  14. test: build
  15. $(MAKE) test