[travis] check exit status of xctool process