diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b66a1304..f225c95fe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -81,3 +81,28 @@ py3.9-download: allow_failure: true script: - ./devscripts/run_tests.sh + +jython-core: + image: openjdk:11-slim + variables: + HDL_TEST_SET: core + before_script: + - apt-get update + - apt-get install -y wget + - ./devscripts/install_jython.sh + - export PATH="$HOME/jython/bin:$PATH" + script: + - ./devscripts/run_tests.sh + +jython-download: + image: openjdk:11-slim + variables: + HDL_TEST_SET: download + allow_failure: true + before_script: + - apt-get update + - apt-get install -y wget + - ./devscripts/install_jython.sh + - export PATH="$HOME/jython/bin:$PATH" + script: + - ./devscripts/run_tests.sh diff --git a/devscripts/install_jython.sh b/devscripts/install_jython.sh index bafca4da4..5daa8cd32 100755 --- a/devscripts/install_jython.sh +++ b/devscripts/install_jython.sh @@ -1,5 +1,5 @@ #!/bin/bash -wget http://central.maven.org/maven2/org/python/jython-installer/2.7.1/jython-installer-2.7.1.jar -java -jar jython-installer-2.7.1.jar -s -d "$HOME/jython" +wget https://repo1.maven.org/maven2/org/python/jython-installer/2.7.2/jython-installer-2.7.2.jar +java -jar jython-installer-2.7.2.jar -s -d "$HOME/jython" $HOME/jython/bin/jython -m pip install nose