add travis build badge
abort test function after detecting an error