Modifying travis script to only deploy if building on the snapshot branch