I want to use travis ci for testing a library, but it requires access to an api, that has to explicitly allow IP address to access it.

Is there a way to configure travis to use only one external IP, either free or in the paid version?

What I need is to be sure that the external IP of the VM in travis is always one of a small set of predefined IPs.

I don't really want to configure proxies and such, although if push comes to shove, that's what I'll probably do.

有帮助吗?

解决方案

There is no way to make the VMs use a single IP. We do have a subnet that we are currently using, but this can change at any time, so that option wouldn't be ideal either. Out of the options you mentioned, sounds like a proxy is the best solution.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top