updating travis file with checks to make it safe