mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 12:51:52 +00:00
17 lines
322 B
Makefile
17 lines
322 B
Makefile
# Configure and build scripts for travis CI system
|
|
V8VER ?= 7.1
|
|
|
|
IMAGENAME ?= v8js-test
|
|
|
|
export NO_INTERACTION=1
|
|
export REPORT_EXIT_STATUS=1
|
|
|
|
build:
|
|
envsubst < Dockerfile.travis > Dockerfile.tmp
|
|
docker build -t $(IMAGENAME) -f Dockerfile.tmp .
|
|
|
|
test: build
|
|
docker run --rm -t $(IMAGENAME) make test
|
|
|
|
.PHONY: build test
|