Added GitLab CI configuration

This commit is contained in:
Raoul Snyman 2019-09-16 22:20:23 -07:00
parent 9d16ae2b06
commit 2ae1a279c1
Signed by: raoul
GPG Key ID: F55BCED79626AE9C
1 changed files with 35 additions and 0 deletions

35
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,35 @@
stages:
- test
test-debian:
stage: test
image: registry.gitlab.com/openlp/runner:debian
before_script:
- sh scripts/generate_resources.sh
script:
- xvfb-run -s '-screen 0 1024x768x24' pytest-3 -Wignore
test-ubuntu:
stage: test
image: registry.gitlab.com/openlp/runner:ubuntu
before_script:
- sh scripts/generate_resources.sh
script:
- xvfb-run -s '-screen 0 1024x768x24' pytest-3 -Wignore
test-fedora:
stage: test
image: registry.gitlab.com/openlp/runner:fedora
before_script:
- sh scripts/generate_resources.sh
script:
- xvfb-run -s '-screen 0 1024x768x24' pytest-3 -Wignore
test-macos:
stage: test
tags:
- macos
before_script:
- sh scripts/generate_resources.sh
script:
- python3 -m pytest -v --color=no --disable-warnings --ignore=tests/utils