support osx and linux on travis