Added Travis CI integration for api tests