Local api support + travis ci testing