Skip to content

Commit

Permalink
Remove Python 2 from CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vloncar committed Jun 17, 2020
1 parent 2fbfcfc commit 645fae8
Showing 1 changed file with 7 additions and 30 deletions.
37 changes: 7 additions & 30 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'''
}
}
}
Expand Down

0 comments on commit 645fae8

Please sign in to comment.