Travis: use $HOSTNAME instead of hardcoded `localhost`.