ClearBowl/Jenkinsfile

19 lines
378 B
Groovy

pipeline {
agent {
docker { image 'circleci/php:7.3' }
}
stages {
stage('Build'){
steps {
sh 'composer install'
sh 'cp .env.example .env && php artisan key:generate'
}
}
stage('Test') {
steps {
sh 'vendor/bin/phpunit'
}
}
}
}