Improved version externs and added travis ci