2016-11-10 18:12:59 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# This is a wrapper script around ./scripts/test.sh which uses docker. The
|
|
|
|
# arguments are the same, as they are passed directly to test.sh.
|
|
|
|
# It can be used to locally check and debug the linux build process
|
|
|
|
# outside of CI.
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
./scripts/docker_build_wrapper.sh ci/realm-js:build .
|
|
|
|
|
2016-11-10 18:28:39 +00:00
|
|
|
exec docker run --rm \
|
2016-11-10 18:12:59 +00:00
|
|
|
-u $(id -u) \
|
|
|
|
-e HOME=/tmp \
|
|
|
|
-v $(pwd):/source \
|
|
|
|
-w /source \
|
|
|
|
ci/realm-js:build \
|
|
|
|
./scripts/test.sh $@
|
|
|
|
|