Use in_venv() to check for venvs during script generation.
Updated Travis configuration.