forked from openlp/openlp
This commit is contained in:
parent
cc6ddff9bc
commit
9b794af8fa
@ -2,6 +2,7 @@ pipeline:
|
||||
lint-python:
|
||||
group: test
|
||||
image: openlp/debian
|
||||
pull: true
|
||||
commands:
|
||||
- sh scripts/generate_resources.sh
|
||||
- flake8
|
||||
@ -9,6 +10,7 @@ pipeline:
|
||||
lint-javascript:
|
||||
group: test
|
||||
image: openlp/angular
|
||||
pull: true
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn lint
|
||||
@ -16,6 +18,7 @@ pipeline:
|
||||
test-debian:
|
||||
group: test
|
||||
image: openlp/debian
|
||||
pull: true
|
||||
commands:
|
||||
- sh scripts/generate_resources.sh
|
||||
- xvfb-run -s '-screen 0 1024x768x24' pytest-3 --color=no --disable-warnings --cov openlp --cov-report term
|
||||
@ -27,6 +30,7 @@ pipeline:
|
||||
test-ubuntu:
|
||||
group: test
|
||||
image: openlp/ubuntu
|
||||
pull: true
|
||||
commands:
|
||||
- sh scripts/generate_resources.sh
|
||||
- xvfb-run -s '-screen 0 1024x768x24' pytest-3 --color=no --disable-warnings
|
||||
@ -34,6 +38,7 @@ pipeline:
|
||||
test-fedora:
|
||||
group: test
|
||||
image: openlp/fedora
|
||||
pull: true
|
||||
commands:
|
||||
- sh scripts/generate_resources.sh
|
||||
- xvfb-run -s '-screen 0 1024x768x24' pytest-3 --color=no --disable-warnings
|
||||
@ -41,29 +46,31 @@ pipeline:
|
||||
test-arch:
|
||||
group: test
|
||||
image: openlp/arch
|
||||
pull: true
|
||||
commands:
|
||||
- sh scripts/generate_resources.sh
|
||||
- xvfb-run -s '-screen 0 1024x768x24' pytest --color=no --disable-warnings
|
||||
|
||||
test-macos:
|
||||
group: test
|
||||
tags:
|
||||
- macos
|
||||
commands:
|
||||
- export PATH=/opt/local/bin:$PATH
|
||||
- sh scripts/generate_resources.sh
|
||||
- python3 -m pytest --color=no --disable-warnings --cov openlp
|
||||
- mv .coverage macos.coverage
|
||||
# test-macos:
|
||||
# group: test
|
||||
# tags:
|
||||
# - macos
|
||||
# commands:
|
||||
# - export PATH=/opt/local/bin:$PATH
|
||||
# - sh scripts/generate_resources.sh
|
||||
# - python3 -m pytest --color=no --disable-warnings --cov openlp
|
||||
# - mv .coverage macos.coverage
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - macos.coverage
|
||||
when:
|
||||
branch: master
|
||||
repo: openlp/openlp
|
||||
# when:
|
||||
# branch: master
|
||||
# repo: openlp/openlp
|
||||
|
||||
test-display:
|
||||
group: test
|
||||
image: openlp/angular
|
||||
pull: true
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn test --browsers ChromiumHeadlessCI
|
||||
@ -71,6 +78,7 @@ pipeline:
|
||||
upload-pypi:
|
||||
group: deploy
|
||||
image: openlp/debian
|
||||
pull: true
|
||||
commands:
|
||||
- python3 setup.py sdist bdist_wheel
|
||||
- twine upload dist/*
|
||||
|
Loading…
Reference in New Issue
Block a user