Fix travis not failing when tests not passing