Don't use bash script to run ci test
This commit is contained in:
parent
ab66ad83fd
commit
d9c05a9333
@ -9,4 +9,4 @@ env:
|
|||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
before_install: docker pull ${DOCKER_IMAGE}
|
before_install: docker pull ${DOCKER_IMAGE}
|
||||||
script: npm run docker-test -- ${DOCKER_IMAGE} ${NODE_VERSION}
|
script: npm run ci:test
|
||||||
|
@ -78,8 +78,8 @@
|
|||||||
"posttest": "npm run test:teardown",
|
"posttest": "npm run test:teardown",
|
||||||
"test:teardown": "NODE_ENV=test node test teardown",
|
"test:teardown": "NODE_ENV=test node test teardown",
|
||||||
"update-internal-deps": "rm -rf node_modules && npm install",
|
"update-internal-deps": "rm -rf node_modules && npm install",
|
||||||
"docker-test": "./docker-test.sh",
|
"ci:test": "docker run -e \"NODEJS_VERSION=$NODE_VERSION\" -v `pwd`:/srv $DOCKER_IMAGE bash run_tests_docker.sh && docker ps --filter status=dead --filter status=exited -aq | xargs docker rm -v",
|
||||||
"docker-bash": "./docker-bash.sh"
|
"docker:bash": "docker run -it -v `pwd`:/srv $DOCKER_IMAGE bash"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^10.15.1",
|
"node": "^10.15.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user