From 91b94d806cc75c181f871a6a09e78813951c9182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hadrien=20Gourl=C3=A9?= Date: Thu, 9 Aug 2018 10:49:39 +0200 Subject: [PATCH] lint fails more gracefully in travis dont have before_install --- nf_core/lint.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nf_core/lint.py b/nf_core/lint.py index a074bfcbbb..8d77e9e397 100644 --- a/nf_core/lint.py +++ b/nf_core/lint.py @@ -359,6 +359,8 @@ def check_ci_config(self): assert(docker_pull_cmd in ciconf.get('before_install')) except AssertionError: self.failed.append((5, "CI is not pulling the correct docker image: {}".format(docker_pull_cmd))) + except TypeError: + self.failed.append((5, "CI does not contain a before_install step that pulls the docker image")) else: self.passed.append((5, "CI is pulling the correct docker image: {}".format(docker_pull_cmd)))