Fix travis error for 0.8