travis: catch errors and abort