From 645fae80b8d4ff4e7a57b2dd5caaeeba0ebb10ac Mon Sep 17 00:00:00 2001 From: Vladimir Loncar Date: Wed, 17 Jun 2020 16:26:39 +0200 Subject: [PATCH] Remove Python 2 from CI tests --- Jenkinsfile | 37 +++++++------------------------------ 1 file changed, 7 insertions(+), 30 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0ca80096f4..97a73a159b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,36 +10,13 @@ pipeline { stages { stage('Keras to HLS') { - parallel { - stage('py36') { - steps { - dir(path: 'test') { - sh '''#!/bin/bash - . activate hls4ml-py36 - pip install -U ../ --user - ./convert-keras-models.sh -p 3 -x -f keras-models.txt - pip uninstall hls4ml -y''' - } - } - } - stage('py27') { - steps { - dir(path: 'test') { - sh '''#!/bin/bash - . activate hls4ml-py27 - pip install -U ../ --user - ./convert-keras-models.sh -p 2 -x -f keras-models.txt - pip uninstall hls4ml -y''' - } - } - } - } - post { - success { - dir(path: 'test') { - sh '''#!/bin/bash - ./py-diff.sh -r 2''' - } + steps { + dir(path: 'test') { + sh '''#!/bin/bash + . activate hls4ml-py36 + pip install -U ../ --user + ./convert-keras-models.sh -p 3 -x -f keras-models.txt + pip uninstall hls4ml -y''' } } }