use travis encrypted env var, support env var api key