mirror of
https://github.com/laurivosandi/certidude
synced 2024-11-16 09:56:44 +00:00
tests: Prevent nginx setup on Travis
This commit is contained in:
parent
3b5ef8f45f
commit
986953f10f
@ -872,7 +872,7 @@ def certidude_setup_authority(username, kerberos_keytab, nginx_config, country,
|
||||
certidude_path = sys.argv[0]
|
||||
|
||||
# Push server config generation
|
||||
if not os.path.exists("/etc/nginx"):
|
||||
if not os.path.exists("/etc/nginx") or os.getenv("TRAVIS"):
|
||||
click.echo("Directory /etc/nginx does not exist, hence not creating nginx configuration")
|
||||
listen = "0.0.0.0"
|
||||
port = "80"
|
||||
|
Loading…
Reference in New Issue
Block a user