Attempt to clear dependencies on each step
This commit is contained in:
parent
5ce34200c9
commit
34b454c175
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -5,9 +5,6 @@ pipeline {
|
||||
agent any
|
||||
steps {
|
||||
sh 'curl -sS https://getcomposer.org/installer | php'
|
||||
sh 'rm -rf ./vendor'
|
||||
sh 'rm -f composer.lock'
|
||||
sh 'php composer.phar install --ignore-platform-reqs'
|
||||
}
|
||||
}
|
||||
stage('PHP 7.3') {
|
||||
@ -19,6 +16,9 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
sh 'apk add --no-cache git'
|
||||
sh 'rm -rf ./vendor'
|
||||
sh 'rm -f composer.lock'
|
||||
sh 'php composer.phar install --ignore-platform-reqs'
|
||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||
}
|
||||
}
|
||||
@ -31,6 +31,9 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
sh 'apk add --no-cache git'
|
||||
sh 'rm -rf ./vendor'
|
||||
sh 'rm -f composer.lock'
|
||||
sh 'php composer.phar install --ignore-platform-reqs'
|
||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||
}
|
||||
}
|
||||
@ -43,6 +46,9 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
sh 'apk add --no-cache git'
|
||||
sh 'rm -rf ./vendor'
|
||||
sh 'rm -f composer.lock'
|
||||
sh 'php composer.phar install --ignore-platform-reqs'
|
||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user