문제

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