diff options
| -rwxr-xr-x | .travis-build.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis-build.sh b/.travis-build.sh index 1028a1573..14dfd64d8 100755 --- a/.travis-build.sh +++ b/.travis-build.sh | |||
| @@ -3,6 +3,12 @@ | |||
| 3 | set -e | 3 | set -e |
| 4 | set -x | 4 | set -x |
| 5 | 5 | ||
| 6 | if grep -r '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis* dist/*.desktop \ | ||
| 7 | dist/*.svg dist/*.xml; then | ||
| 8 | echo Trailing whitespace found, aborting | ||
| 9 | exit 1 | ||
| 10 | fi | ||
| 11 | |||
| 6 | #if OS is linux or is not set | 12 | #if OS is linux or is not set |
| 7 | if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then | 13 | if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then |
| 8 | mkdir build && cd build | 14 | mkdir build && cd build |