Another attempt to fix CI
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
This commit is contained in:
parent
591d7bb4bc
commit
db68f983bf
12
.travis.yml
12
.travis.yml
@ -10,15 +10,15 @@ php:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- mkdir -p build/logs
|
- mkdir -p build/logs
|
||||||
- phpdbg -qrr -- vendor/bin/phpunit -c build
|
- php vendor/bin/phpunit -c build
|
||||||
|
|
||||||
after_script:
|
#after_script:
|
||||||
- CODECLIMATE_REPO_TOKEN=2cbddcebcb9256b3402867282e119dbe61de0b31039325356af3c7d72ed6d058 vendor/bin/test-reporter
|
# - CODECLIMATE_REPO_TOKEN=2cbddcebcb9256b3402867282e119dbe61de0b31039325356af3c7d72ed6d058 vendor/bin/test-reporter
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: nightly
|
- php: nightly
|
||||||
|
|
||||||
addons:
|
#addons:
|
||||||
code_climate:
|
# code_climate:
|
||||||
repo_token: 2cbddcebcb9256b3402867282e119dbe61de0b31039325356af3c7d72ed6d058
|
# repo_token: 2cbddcebcb9256b3402867282e119dbe61de0b31039325356af3c7d72ed6d058
|
24
Jenkinsfile
vendored
24
Jenkinsfile
vendored
@ -1,6 +1,20 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent none
|
agent none
|
||||||
stages {
|
stages {
|
||||||
|
stage('setup') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'php-alpine'
|
||||||
|
args '-u root --privileged'
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'apk add --no-cache git'
|
||||||
|
sh 'curl -sS https://getcomposer.org/installer | php'
|
||||||
|
sh 'rm -f composer.lock'
|
||||||
|
sh 'php composer.phar install --ignore-platform-reqs'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('PHP 7.3') {
|
stage('PHP 7.3') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
@ -9,10 +23,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'apk add --no-cache git'
|
|
||||||
sh 'curl -sS https://getcomposer.org/installer | php'
|
|
||||||
sh 'rm -f composer.lock'
|
|
||||||
sh 'php composer.phar install --ignore-platform-reqs'
|
|
||||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -24,11 +34,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'apk add --no-cache git php7-phpdbg'
|
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --colors=never'
|
||||||
sh 'curl -sS https://getcomposer.org/installer | php'
|
|
||||||
sh 'rm -f composer.lock'
|
|
||||||
sh 'php composer.phar install --ignore-platform-reqs'
|
|
||||||
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
|
|
||||||
step([
|
step([
|
||||||
$class: 'CloverPublisher',
|
$class: 'CloverPublisher',
|
||||||
cloverReportDir: '',
|
cloverReportDir: '',
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
<logging>
|
<logging>
|
||||||
<log type="coverage-html" target="../coverage"/>
|
<log type="coverage-html" target="../coverage"/>
|
||||||
<log type="coverage-clover" target="logs/clover.xml"/>
|
<log type="coverage-clover" target="logs/clover.xml"/>
|
||||||
<log type="junit" target="logs/junit.xml" />
|
|
||||||
</logging>
|
</logging>
|
||||||
<php>
|
<php>
|
||||||
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0" />
|
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0" />
|
||||||
|
Loading…
Reference in New Issue
Block a user