From 18f1134188b55a683cd44a90ee260bf8ff79ee8f Mon Sep 17 00:00:00 2001 From: selfisekai Date: Mon, 2 Nov 2020 11:46:47 +0100 Subject: [PATCH] jython testing --- .gitlab-ci.yml | 25 +++++++++++++++++++++++++ devscripts/install_jython.sh | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) 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