NF: Optionally allow for port ranges.
BLD: Automatically choose publish port in travis CI.