jython testing

This commit is contained in:
selfisekai 2020-11-02 11:46:47 +01:00
parent 46245ec277
commit 18f1134188
2 changed files with 27 additions and 2 deletions

View file

@ -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

View file

@ -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