Skip to content

Commit

Permalink
Execute test on Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <[email protected]>
  • Loading branch information
uilianries committed Dec 4, 2020
1 parent 8cefc0c commit 3ddb517
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 146 deletions.
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.

15 changes: 0 additions & 15 deletions Jenkinsfile

This file was deleted.

27 changes: 0 additions & 27 deletions appveyor.yml

This file was deleted.

25 changes: 25 additions & 0 deletions jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
try {
node("Linux") {
List pyVersions = ['2.7', '3.7']
List conanVersions = ['conan-dev', 'conan-latest']

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'

def envs = sh(returnStdout: true, script: "tox -l").trim().split('\n')
def cmds = envs.collectEntries({ tox_env ->
[tox_env, {
sh "tox --parallel--safe-build -vve $tox_env"
}]
})
parallel(cmds)
}
}
}
catch(e){
echo "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'"
throw e
}

0 comments on commit 3ddb517

Please sign in to comment.