Final fixes for travis builds

- Indicate exactly which failure caused the exit status
- Better comparison of operators
Merge branch 'hotfix/travis-build-status-codes'

Fixes for travis build status