2013-10-12 03:58:32 +00:00
|
|
|
# Configure and build scripts for travis CI system
|
2018-01-05 14:14:48 +00:00
|
|
|
V8VER ?= 6.3
|
2013-10-12 03:58:32 +00:00
|
|
|
|
2018-01-05 18:05:00 +00:00
|
|
|
IMAGENAME ?= v8js-test
|
|
|
|
|
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
|
|
|
|
|
|
|
build:
|
2018-01-05 18:05:00 +00:00
|
|
|
envsubst < Dockerfile.travis > Dockerfile.tmp
|
|
|
|
docker build -t $(IMAGENAME) -f Dockerfile.tmp .
|
2013-10-12 03:58:32 +00:00
|
|
|
|
|
|
|
test: build
|
2018-01-05 18:05:00 +00:00
|
|
|
docker run --rm -t $(IMAGENAME) make test
|