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' } } } }