Fix travis_retry comparison.

If the command fails the first time, fails the second time,
and succeeds the third time, travis_retry will incorrectly
report that the command failed three times (but still return
a successful exit code).
Merge pull request #261 from jimparis/fix-travis-retry

Fix travis_retry comparison.