Skip to content

Commit

Permalink
Travis: Run Shellcheck (on 32-bit Trusty only) (OSGeo#654)
Browse files Browse the repository at this point in the history
* Run Shellcheck (on 32-bit Trusty only) to keep shell scripts in order.

* Quote *.sh. Don't use GCC output style. [Spotted by Shellcheck :-)]

* Only walk down the gdal/ directory.
  • Loading branch information
bje- authored and rouault committed May 30, 2018
1 parent f4d475e commit 7ebf00d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gdal/ci/travis/trusty_32bit/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ mv autotest/gcore/vsigs.py autotest/gcore/vsigs.py.disabled

# Run all the Python autotests
sudo i386 chroot "$chroot" sh -c "cd $PWD/autotest && python run_all.py"

# Run Shellcheck
shellcheck -e SC2086,SC2046 $(find $PWD/gdal -name '*.sh' -a -not -name ltmain.sh -a -not -name gdal-bash-completion.sh)

0 comments on commit 7ebf00d

Please sign in to comment.