added exit codes
added Travis support again