Jenkinsfile fix
This commit is contained in:
parent
14aeec3652
commit
3cf8c8e2dd
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -11,7 +11,7 @@ node {
|
||||
}
|
||||
}
|
||||
docker.image('circleci/php:7.4').inside("--link ${c.id}:db") {
|
||||
stage("Prepare container") { sh 'apt-get update && apt-get install -y php-mysql' }
|
||||
stage("Prepare container") { sh 'docker-php-ext-install -j$(nproc) pdo_mysql' }
|
||||
stage("Build") { sh 'composer install && mv .env.example .env' }
|
||||
stage("Test") { sh 'vendor/bin/phpunit' }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user