Browse Source

travis-ci: fail if coverage < 100%

Fabian Peter Hammerle 6 năm trước cách đây
mục cha
commit
0a098ce5d1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -40,4 +40,4 @@ install:
 
 script:
 - pipenv run pylint freesurfer_volume_reader tests/*
-- pipenv run pytest --cov=freesurfer_volume_reader --cov-report=term-missing
+- pipenv run pytest --cov=freesurfer_volume_reader --cov-report=term-missing --cov-fail-under=100