forked from mirrors/qmk_userspace
Use qmk docker image for travis CI builds
This commit is contained in:
parent
6693d16362
commit
ba6b3fc1b5
4 changed files with 22 additions and 21 deletions
|
@ -19,4 +19,11 @@ if [ "$BRANCH" != "master" ] && [ "$NUM_IMPACTING_CHANGES" == "0" ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
# if docker is installed - call make within the qmk docker image
|
||||
if command -v docker >/dev/null; then
|
||||
function make() {
|
||||
docker run --rm -e MAKEFLAGS="$MAKEFLAGS" -w /qmk_firmware/ -v "$PWD":/qmk_firmware qmkfm/qmk_firmware make "$@"
|
||||
}
|
||||
fi
|
||||
|
||||
make test:all
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue