ci: Offload cargo tests to the worker node VM

Because the resources on the amount of worker nodes we can have access
to through Travis is limited, we offload the burden of running all tests
related to Cargo inside the Azure VM directly.

This will have the positive effect of stopping the build very early in
case something goes wrong during the Cargo testing.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2019-12-11 08:38:46 +01:00
committed by Rob Bradford
parent ee528ae808
commit d42ef186a1
2 changed files with 30 additions and 0 deletions

5
Jenkinsfile vendored
View File

@@ -20,6 +20,11 @@ pipeline{
sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y"
}
}
stage ('Run Cargo tests') {
steps {
sh "scripts/run_cargo_tests.sh"
}
}
stage ('Run unit tests') {
steps {
sh "scripts/run_unit_tests.sh"