Add Jenkinsfile.

This commit is contained in:
Jarosław Wieczorek 2020-12-07 16:53:57 +01:00
parent 5f0e2fbd0e
commit b49314044d

18
Jenkinsfile vendored
View File

@ -0,0 +1,18 @@
pipeline {
agent { docker { image 'python:3.9' } }
stages {
stage('build') {
steps {
sh 'pip install pipenv'
sh 'pipenv shell --python 3.9'
sh 'pipenv install'
}
}
stage('test') {
steps {
sh './run_tests.sh'
}
}
}
}
JENKINSFILE