Integrate [shellcheck](https://github.com/koalaman/shellcheck) into the CI test to make the script more robust.