Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top