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