1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-22 16:25:17 +00:00

tests: Prevent nginx setup on Travis

This commit is contained in:
Lauri Võsandi 2017-05-01 18:45:15 +00:00
parent 3b5ef8f45f
commit 986953f10f

View File

@ -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"