Commit 1cb138cf authored by Tjerk Vreeken's avatar Tjerk Vreeken

Use Windows to run tests

The recent Linux kernel fix for "Stack Clash" causes Java to fail. Until
there is a fix available for Java, we instead use Windows for running the
tests.
parent b559a9c4
......@@ -18,10 +18,23 @@ build:windows:
tags:
- windows
test:linux:
image: jmodelica.org
test:windows:
stage: test
# FIXME: Nose fails if we do not have a USER environment variable
script: python setup.py install && export USER=root && /opt/JModelica/bin/jm_python.sh -m nose --exe -w tests
dependencies:
- build:windows
script:
- call C:\RTCTools2\system\JModelica\RTC2_setenv.bat
# FIXME: Explicit naming of the wheel is far from ideal, but pip nor cmd.exe support wildcards.
- python -m pip install --upgrade --no-deps --force-reinstall rtctools-2.0.0b6-cp27-cp27m-win32.whl
- python -m nose --exe -w tests
tags:
- docker
\ No newline at end of file
- windows
# Temporarily disabled because the Stack Clash (CVE-2017-1000364) kernel patch breaks Java.
# test:linux:
# image: jmodelica.org
# stage: test
# # FIXME: Nose fails if we do not have a USER environment variable
# script: python setup.py install && export USER=root && /opt/JModelica/bin/jm_python.sh -m nose --exe -w tests
# tags:
# - docker
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