18 lines
308 B
Groovy
18 lines
308 B
Groovy
pipeline {
|
|
agent {
|
|
docker { image 'circleci/php:7.3' }
|
|
}
|
|
stages {
|
|
stage('Build'){
|
|
steps {
|
|
sh 'composer install'
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
sh 'vendor/bin/phpunit'
|
|
}
|
|
}
|
|
}
|
|
}
|