For security reasons, PR runs don't have access to Travis secrets. However,
Docker deployment depends on the secret DOCKER_PASSWORD. Thus we shouldn't try
Docker deployment when running PRs since it will fail for lack of access.
* Adds a shell script with functions to install multi-architecture docker
support, as well as build, deploy, and test the shellcheck docker images for
the same set of architectures for which binaries were already built and
deployed as tarballs.
* Hooks up the multi-architecture docker build, deploy, and test to the existing
Travis CI/CD pipeline. It is organized as a separate stage which only runs if
all previous steps in the already existing test stage succeed.
Fixing the following Travis build config validation warnings:
* root: deprecated key sudo (The key `sudo` has no effect anymore.)
* root: missing os, using the default linux
* deploy: key local-dir is not underscored, using local_dir
* language: value sh is an alias for shell, using shell
* root: key matrix is an alias for jobs, using jobs