Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Jenkins support #534

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .ci/appveyor/install.bat

This file was deleted.

3 changes: 0 additions & 3 deletions .ci/appveyor/test.bat

This file was deleted.

36 changes: 0 additions & 36 deletions .ci/travis/install.sh

This file was deleted.

2 changes: 0 additions & 2 deletions .ci/travis/requirements_travis.txt

This file was deleted.

15 changes: 0 additions & 15 deletions .ci/travis/run.sh

This file was deleted.

43 changes: 0 additions & 43 deletions .travis.yml

This file was deleted.

27 changes: 0 additions & 27 deletions appveyor.yml

This file was deleted.

21 changes: 21 additions & 0 deletions jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
try {
node("Linux") {
stage('Get sources') {
checkout scm
}

stage('CPT Linux stage') {
sh 'apt-get update'
// To build some deps from sources it needs pythonXX-dev
sh 'apt-get -y install python3-venv python3.7-venv'
sh 'pip install -r cpt/requirements_test.txt'
// Show default environments
sh 'tox -vv -l'
sh 'tox -vv -e py37-conan-latest'
}
}
}
catch(e){
echo "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'"
throw e
}