|
@@ -45,7 +45,7 @@ lint:py2:
|
|
|
- linux
|
|
|
script:
|
|
|
- wget https://git.mk2es.com.au/snippets/8/raw -O mk2pylint.cfg -q
|
|
|
- - python2 -m pylint --rcfile=mk2pylint.cfg avent --reports=no || [[ $(($? & 3)) == 0 ]]
|
|
|
+ - python2 -m pylint --rcfile=mk2pylint.cfg avent --reports=no --ignore=fluid.py,strict.py || [[ $(($? & 3)) == 0 ]]
|
|
|
|
|
|
lint:py3:
|
|
|
stage: test
|
|
@@ -54,7 +54,7 @@ lint:py3:
|
|
|
- linux
|
|
|
script:
|
|
|
- wget https://git.mk2es.com.au/snippets/8/raw -O mk2pylint.cfg -q
|
|
|
- - python3 -m pylint --rcfile=mk2pylint.cfg avent --reports=no || [[ $(($? & 3)) == 0 ]]
|
|
|
+ - python3 -m pylint --rcfile=mk2pylint.cfg avent --reports=no --ignore=compat || [[ $(($? & 3)) == 0 ]]
|
|
|
|
|
|
units:
|
|
|
stage: test
|
|
@@ -62,7 +62,7 @@ units:
|
|
|
- python3
|
|
|
- linux
|
|
|
script:
|
|
|
- - python3 -Bm coverage run --source=avent -m unittest tests/*.py
|
|
|
+ - python3 -Bm coverage run --source=avent --omit avent/compat/*.py -m unittest tests/*.py
|
|
|
- python3 -Bm coverage report -m
|
|
|
|
|
|
deploy:
|