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).