travis: cleanup build script
authorSitsofe Wheeler <sitsofe@yahoo.com>
Thu, 3 Sep 2020 22:02:31 +0000 (23:02 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Sat, 12 Sep 2020 10:54:19 +0000 (11:54 +0100)
commita9b9b1627d52137246eb3c76476f7645780a9beb
treed36b057cc19844496de81c5fe8a3e04a8e3c0c47
parent63c25ff810bbd3bc960b5954e7894d3a5e9a2ff2
travis: cleanup build script

- Standardise on spaces for indentation
- Exit on error or using variables before they are defined
- Fix up shellcheck complaints by exporting some variables
- Drop printing of python 2 information as we don't use it
- Use type -p rather than which

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
ci/travis-build.sh
ci/travis-install.sh