Rely on WP.org localization tooling #1457
Draft
Travis CI / Travis CI - Branch
failed
Oct 9, 2023 in 6m 28s
Build Failed
The build failed. This is a change from the previous build, which errored.
Details
This is a normal build for the fix/tests branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build has six jobs, running in two sequential stages.
Stage 1: test
This stage failed.
Job | PHP | ENV | OS | State |
---|---|---|---|---|
5939.1 Default Test | 7.4 | Linux | failed | |
5939.2 Test with PHP 5.6 | 7.4 | WORDPRESS_IMAGE_VERSION=php5.6 | Linux | failed |
5939.3 Test with PHP 7.4 | 7.4 | WORDPRESS_IMAGE_VERSION=php7.4 | Linux | failed |
5939.4 Test with PHP 8.0 | 7.4 | WORDPRESS_IMAGE_VERSION=php8.0 | Linux | passed |
5939.5 Test Release Bundle | 7.4 | Linux | passed |
Stage 2: deploy
This stage canceled.
Job | PHP | OS | State |
---|---|---|---|
5939.6 Tag Package | 7.4 | Linux | canceled |
Build Configuration
Build Option | Setting |
---|---|
Language | PHP |
Operating System | Linux (Xenial) |
PHP Version | 7.4 |
Build Configuration
{
"language": "php",
"os": [
"linux"
],
"dist": "xenial",
"php": [
"7.4"
],
"jobs": {
"include": [
{
"stage": "test",
"name": "Default Test",
"before_script": [
"curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter",
"chmod +x ./cc-test-reporter",
"./cc-test-reporter before-build"
],
"after_script": [
"test -f ./tests/reports/clover.xml && composer test-report || true",
"./cc-test-reporter format-coverage --input-type clover tests/reports/clover.xml --output tests/reports/codeclimate.json",
"./cc-test-reporter upload-coverage --input tests/reports/codeclimate.json"
]
},
{
"name": "Test with PHP 5.6",
"env": [
{
"WORDPRESS_IMAGE_VERSION": "php5.6"
}
]
},
{
"name": "Test with PHP 7.4",
"env": [
{
"WORDPRESS_IMAGE_VERSION": "php7.4"
}
]
},
{
"name": "Test with PHP 8.0",
"env": [
{
"WORDPRESS_IMAGE_VERSION": "php8.0"
}
],
"script": [
"npm run lint"
]
},
{
"name": "Test Release Bundle",
"script": [
"npm run release"
]
},
{
"stage": "deploy",
"name": "Tag Release",
"if": "tag IS present",
"script": [
"npm run release"
],
"deploy": [
{
"provider": "releases",
"overwrite": true,
"skip_cleanup": true,
"file": [
"stream.zip",
"stream-$TRAVIS_TAG.zip"
],
"on": {
"all_branches": true,
"repo": "xwp/stream"
},
"token": {
"secure": "HheYiv6c8ipHzMZBTH7xcKrOwCllvJTtfiTffAPK6XubWe3Kudn6IJUv0p1gmRhWXxZ5ciJQ/sgiCRGTRm/bubHs4tS7JOmpmoTdkrXajTxyyDCKpxhtT43nie0vNF+pWqVu2yOjhDR4pwtWjpQdzEKOz0kn0XSMT+vGsKQD50w="
}
}
]
},
{
"name": "Tag Package",
"if": "branch IS present AND type = push",
"script": [
"npm run release"
],
"before_deploy": [
"openssl aes-256-cbc -K $encrypted_49634e5b1863_key -iv $encrypted_49634e5b1863_iv -in ./local/travis/travis_deploy_key.enc -out ~/.ssh/id_rsa -d",
"chmod 600 ~/.ssh/id_rsa"
],
"deploy": [
{
"provider": "script",
"script": "./local/scripts/dist.sh",
"skip_cleanup": true,
"on": {
"all_branches": true,
"repo": "xwp/stream"
}
}
]
}
]
},
"services": [
"docker"
],
"before_install": [
"echo \"$DOCKER_TOKEN\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin",
"docker-compose pull",
"nvm install",
"nvm use",
"composer self-update --1"
],
"install": [
"npm install",
"composer install"
],
"script": [
"npm run lint",
"npm run phpunit",
"npm run phpunit-multisite"
],
"notifications": {
"email": [
{
"enabled": false
}
]
},
"cache": {
"npm": true,
"directories": [
"$HOME/.composer/cache"
]
}
}
Loading