Skip to content

Commit

Permalink
Merge pull request #113 from HadrienG/master
Browse files Browse the repository at this point in the history
lint fails more gracefully in travis doesn't have before_install
  • Loading branch information
ewels authored Aug 9, 2018
2 parents 7ae0156 + 91b94d8 commit a6ab045
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nf_core/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

Expand Down

0 comments on commit a6ab045

Please sign in to comment.