提交 0262dc3b 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

confirm circleci docker test is fixed?

上级 c052b3a4
......@@ -25,7 +25,7 @@
"eslint": "eslint \"{bin,example,src,test}/**/*.js\"",
"tslint": "tslint \"{bin,example,src,test}/**/*.ts\" && tsc --noEmit",
"shlint": "bash -n bin/*.sh && shellcheck bin/*.sh",
"pretest": "npm run clean && npm run lint && npm run build",
"pretest": "false && npm run clean && npm run lint && npm run build",
"sloc": "sloc bin example src test index.ts --details --format cli-table --keys total,source,comment && sloc bin example src test index.ts",
"test": "npm run test:chrome",
"posttest": "npm run clean && npm run sloc",
......
......@@ -11,9 +11,15 @@ optRm='--rm'
if [ "$1" = "build" ] || [ "$1" = "" ]; then
echo docker build "$optRm" -t "$imageName" .
exec docker build "$optRm" -t "$imageName" .
exit $?
ret=$?
echo "ERROR: exec return $ret ???"
exit $ret
fi
echo docker run -ti "$optRm" -v /dev/shm:/dev/shm "$imageName" $@
exec docker run -ti "$optRm" -v /dev/shm:/dev/shm "$imageName" $@
exit $?
ret=$?
echo "ERROR: exec return $ret ???"
exit $ret
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册