Skip to content

Commit

Permalink
pass build envs to cover script
Browse files Browse the repository at this point in the history
  • Loading branch information
justadudewhohacks committed Sep 22, 2019
1 parent cbb7870 commit 07fc798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/cover/cover.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
image=opencv4nodejs-ci:$1-node$2-with-coverage
docker build -t $image -f ./Dockerfile --build-arg TAG=$1 --build-arg NODE_MAJOR_VERSION=$2 ../../
docker run -v $PWD/coverage-report:/test/coverage-report $image
docker run -v $PWD/coverage-report:/test/coverage-report -e OPENCV_VERSION=$OPENCV_VERSION -e TEST_MODULE_LIST=$TEST_MODULE_LIST $image

0 comments on commit 07fc798

Please sign in to comment.