Run the python tests inside docker

python_tests
skullY 5 years ago
parent 23f48491ef
commit 41e8b4159a

@ -56,7 +56,7 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
if [ $PFM -gt 0 -o "$BRANCH" = "master" ]; then
echo
echo "Running python tests."
bin/qmk nose2
docker run --rm -w /qmk_firmware/ -v "$PWD":/qmk_firmware --user $(id -u):$(id -g) qmkfm/base_container bin/qmk nose2
: $((exit_code = $exit_code + $?))
fi
fi

Loading…
Cancel
Save