Skip to content

Commit

Permalink
add Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
romulodl committed Jun 12, 2018
1 parent 5dc58e4 commit a9b9017
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pipeline {
agent {
docker {
image 'composer'
args '-v /var/composer/cache:/var/composer/cache'
}
}
stages {
stage('Build') {
steps {
sh 'composer install'
}
}
stage('run tests') {
steps {
sh 'composer test'
}
}
}
}

0 comments on commit a9b9017

Please sign in to comment.