Added make test and travis experiment

This commit is contained in:
Olof hagsand 2019-02-04 14:13:20 +01:00
parent 14343810ca
commit 10d841f4be
8 changed files with 21 additions and 3 deletions

36
test/jenkins/Jenkinsfile vendored Normal file
View 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'
}
}