Include codestyle reports for master branch

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 6 years ago
parent dc820756cf
commit 594ac576b9
No known key found for this signature in database
GPG Key ID: A65B78DBE67C7AAC

@ -11,11 +11,12 @@ tests-sid:
image: debian:sid image: debian:sid
script: script:
- apt-get update - apt-get update
- apt-get install -y python3 python3-apt python3-yaml python3-coverage python3-pycodestyle python3-pytest python3-pytest-cov git rsync libclass-accessor-perl libdpkg-perl libyaml-syck-perl - apt-get install -y python3 python3-apt python3-yaml python3-coverage python3-pycodestyle pycodestyle python3-pytest python3-pytest-cov git rsync libclass-accessor-perl libdpkg-perl libyaml-syck-perl
- ci/gitlab-ci-runner --with-coverage - ci/gitlab-ci-runner --with-coverage
artifacts: artifacts:
paths: paths:
- coverage - coverage
- codestyle
docs: docs:
stage: test stage: test
@ -39,6 +40,7 @@ pages:
- mkdir public - mkdir public
- mv docs public/docs - mv docs public/docs
- mv coverage public/coverage - mv coverage public/coverage
- mv codestyle public/codestyle
artifacts: artifacts:
paths: paths:
- public - public

@ -21,6 +21,8 @@ if [ $err = 0 ] && [ "x$1" = "x--with-coverage" ]; then
python3-coverage report -m python3-coverage report -m
echo echo
python3-coverage html -d coverage python3-coverage html -d coverage
mkdir codestyle
pycodestyle --config=setup.cfg britney.py britney2 --show-source --count > codestyle/codestyle.txt
fi fi
exit $err exit $err

Loading…
Cancel
Save