travis: fix capture of exit status
travis: fix capture of exit status

Now that we have Javascript tests it's not enough to check for "FAILED"
in the output of the tests to determine the appropriate exit status for
the build. Instead, use the actual exit status of the test run.

terceiro/squad,terceiro/squad,terceiro/squad,terceiro/squad