Add building and error states to travis