diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-06-05 23:07:34 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-06-06 00:08:36 -0500 |
commit | 391860e04425024b9be3b4eed54deec6769a6a2c (patch) | |
tree | abc0949358d0b028b9419ddc4febbf238c4d59b2 /.travis/check-git-clang-format-output.sh | |
parent | 9d96147bbf8dabc2a28105d73905808e70b73b0f (diff) |
Update travis for new devkitARM location
Diffstat (limited to '.travis/check-git-clang-format-output.sh')
-rwxr-xr-x | .travis/check-git-clang-format-output.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/.travis/check-git-clang-format-output.sh b/.travis/check-git-clang-format-output.sh deleted file mode 100755 index c53efa726..000000000 --- a/.travis/check-git-clang-format-output.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -if [ "$TRAVIS_PULL_REQUEST" == "false" ] ; then - # Not in a pull request, so compare against parent commit - base_commit="HEAD^" - echo "Running clang-format against parent commit $(git rev-parse $base_commit)" -else - base_commit="$TRAVIS_BRANCH" - echo "Running clang-format against branch $base_commit, with hash $(git rev-parse $base_commit)" -fi - -output="$(.travis/git-clang-format --binary clang-format-5.0 --commit $base_commit --diff)" - -if [ "$output" == "no modified files to format" ] || [ "$output" == "clang-format did not modify any files" ] ; then - echo "clang-format passed." - exit 0 -else - echo "clang-format failed:" - echo "$output" | colordiff - exit 1 -fi |