Commit a684e3e3 authored by Till Bald's avatar Till Bald

[CI] Using python docker image for CI instead of Ubuntu workstation.

parent ca7d2154
Pipeline #29077970 failed with stages
in 14 minutes and 48 seconds
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/
# This docker image is not used for jobs tagged with win10
image: python:latest
before_script:
- git submodule update --init --recursive
......@@ -18,7 +24,7 @@ script-test-win10:
script-test-ubuntu64:
stage: test_script
tags:
- ubuntu64
- docker
script:
- python3 tests/test.py "python3 crosslinx.py"
......@@ -40,7 +46,7 @@ pyinstaller-win10:
pyinstaller-ubuntu64:
stage: pyinstaller
tags:
- ubuntu64
- docker
script:
- pyinstaller -y crosslinx.spec
- cd dist/crosslinx
......@@ -65,7 +71,7 @@ exe-test-win10:
exe-test-ubuntu64:
stage: test_exe
tags:
- ubuntu64
- docker
script:
- cd dist/crosslinx
- python3 tests/test.py "./crosslinx"
......@@ -77,7 +83,7 @@ exe-test-ubuntu64:
coverage:
stage: coverage
tags:
- ubuntu64
- docker
script:
- coverage erase
- python3 tests/test.py "coverage run -a crosslinx.py"
......@@ -112,7 +118,7 @@ release-win10:
release-ubuntu64:
stage: release
tags:
- ubuntu64
- docker
script:
- mv dist/crosslinx crosslinx_${CI_BUILD_TAG}
- cd crosslinx_${CI_BUILD_TAG}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment