reuse api internally; add travis service