From 986953f10f583a8a7724fae78c5b28c071e13800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Mon, 1 May 2017 18:45:15 +0000 Subject: [PATCH] tests: Prevent nginx setup on Travis --- certidude/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certidude/cli.py b/certidude/cli.py index 00a5eb0..5350444 100755 --- a/certidude/cli.py +++ b/certidude/cli.py @@ -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"