Skip to content

Commit

Permalink
make Travis fail if trailing ws is detected
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Nov 6, 2014
1 parent 4b4565f commit 1ff867c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ before_install:
make $BUILDOPTS -C contrib -f repackage_system_suitesparse4.make;
fi
script:
- ! git grep ' $' -- \*.jl \*.scm \*.c \*.cpp \*.h > /dev/null || { echo "trailing whitespace found in source file"; exit 1; }
- make $BUILDOPTS prefix=/tmp/julia install
- if [ `uname` = "Darwin" ]; then
for name in spqr umfpack colamd cholmod amd suitesparse_wrapper; do
Expand Down

2 comments on commit 1ff867c

@tonyhffong
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kind of militant. I like it.

@milktrader
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I copy that script I'll never get passing tests 😄

Please sign in to comment.