Added make test and travis experiment
This commit is contained in:
parent
14343810ca
commit
10d841f4be
8 changed files with 21 additions and 3 deletions
36
test/jenkins/Jenkinsfile
vendored
Normal file
36
test/jenkins/Jenkinsfile
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
node {
|
||||
stage('Checkout') {
|
||||
git url: 'https://github.com/clicon/clixon.git'
|
||||
checkout scm
|
||||
}
|
||||
|
||||
stage('Configure') {
|
||||
/* `make check` returns non-zero on test failures,
|
||||
* using `true` to allow the Pipeline to continue nonetheless
|
||||
*/
|
||||
sh 'make clean'
|
||||
sh './configure'
|
||||
}
|
||||
|
||||
stage('Make') {
|
||||
/* `make check` returns non-zero on test failures,
|
||||
* using `true` to allow the Pipeline to continue nonetheless
|
||||
*/
|
||||
sh 'make'
|
||||
}
|
||||
stage('Make install') {
|
||||
sh 'sudo make install'
|
||||
}
|
||||
stage('Make install-include') {
|
||||
sh 'sudo make install-include'
|
||||
}
|
||||
stage('Make Example') {
|
||||
sh 'cd example'
|
||||
sh 'make'
|
||||
sh 'sudo make install'
|
||||
}
|
||||
stage('Testing') {
|
||||
sh 'cd test'
|
||||
sh './all.sh'
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue