diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..7d80e5a --- /dev/null +++ b/Jenkinsfile @@ -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' + } + } + } +}