According to TravisCI docs,
If your build requires setting up custom hostnames, you can specify a single host or a list of them in your .travis.yml. Travis CI will automatically setup the hostnames in /etc/hosts for both IPv4 and IPv6.
But it doesn't say anything of specifying IP addresses. It also says nothing of the format for the host names. Is is possible to specify a simple alias, like myhostnamealias
or does it require a FQDN? At least CircleCI mentions that it uses a FQDN (although I don't know why that stipulation exists, but that's a separate question.)
Thanks, Robin.
By experiment I have figured out that the list of hosts provided in
addons:
hosts:
- travis.dev
- joshkalderimis.com
are all being set up to point to 127.0.0.1
equivalent to /etc/hosts
entries like this:
127.0.0.1 travis.dev
127.0.0.1 joshkalderimis.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With