Updated buildout dev-tf
authorThierry Florac <tflorac@ulthar.net>
Sat, 23 Nov 2019 01:01:07 +0100
branchdev-tf
changeset 417 e7e36ec88a06
parent 416 0ef63dbfecd1
child 418 55fc762a7afa
Updated buildout
.gitlab-ci.yml
buildout.cfg
--- a/.gitlab-ci.yml	Sat Nov 23 00:33:56 2019 +0100
+++ b/.gitlab-ci.yml	Sat Nov 23 01:01:07 2019 +0100
@@ -26,9 +26,6 @@
 test:
     stage: test
     script:
-        - pwd
-        - ls -l
-        - head ./bin/test
         - ./bin/test
 
 dist:
@@ -43,11 +40,10 @@
     stage: quality
     allow_failure: true
     script:
-        - pip install pylint-exit anybadge
         - mkdir ./pylint
-        - ./bin/pylint src/pyams_utils/ | tee ./pylint/pylint.log || pylint-exit $?
+        - ./bin/pylint src/pyams_utils/ | tee ./pylint/pylint.log || ./bin/pylint-exit $?
         - PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log)
-        - anybadge --label=Pylint --file=./pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green
+        - ./bin/anybadge --label=Pylint --file=./pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green
         - echo "Pylint score is $PYLINT_SCORE"
     artifacts:
         paths:
--- a/buildout.cfg	Sat Nov 23 00:33:56 2019 +0100
+++ b/buildout.cfg	Sat Nov 23 01:01:07 2019 +0100
@@ -55,7 +55,11 @@
 
 [pylint]
 recipe = zc.recipe.egg
-eggs = pylint
+eggs =
+    pyams_utils
+    pylint
+    pylint-exit
+    anybadge
 entry-points = pylint=pylint.lint:Run
 arguments = sys.argv[1:]