Fix keyword indexing: use publication id instead of submission id #10
Travis CI / Travis CI - Pull Request
succeeded
Mar 14, 2024 in 8m 3s
Build Passed
The build passed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #10 Fix keyword indexing: use publication id instead of submission id.
Any changes that have been made to the stable-3_3_0 branch before the build ran are also included.
Jobs and Stages
This build has four jobs, running in parallel.
Job | PHP | ENV | OS | State |
---|---|---|---|---|
45.1 | 7.4 | APPLICATION=ojs BRANCH=stable-3_3_0 TEST=mysql | Linux | passed |
45.2 | 7.4 | APPLICATION=ojs BRANCH=stable-3_3_0 TEST=pgsql | Linux | passed |
45.3 | 8.0 | APPLICATION=ojs BRANCH=stable-3_3_0 TEST=mysql | Linux | passed |
45.4 | 8.0 | APPLICATION=ojs BRANCH=stable-3_3_0 TEST=pgsql | Linux | passed |
Build Configuration
Build Option | Setting |
---|---|
Language | PHP |
Operating System | Linux (Bionic) |
PHP Versions | 7.4, 8.0 |
Build Configuration
{
"language": "php",
"os": [
"linux"
],
"dist": "bionic",
"addons": {
"postgresql": "9.5",
"apt": {
"update": true
}
},
"sudo": true,
"php": [
"7.4",
"8.0"
],
"env": [
"jobs={:APPLICATION=>\"ojs\", :BRANCH=>\"stable-3_3_0\", :TEST=>\"mysql\"}={:APPLICATION=>\"ojs\", :BRANCH=>\"stable-3_3_0\", :TEST=>\"pgsql\"}"
],
"install": [
"git clone -b ${BRANCH} https://github.com/pkp/${APPLICATION} ~/${APPLICATION}",
"cd ~/${APPLICATION}",
"git submodule update --init --recursive",
"source lib/pkp/tools/travis/prepare-tests.sh",
"lib/pkp/tools/travis/prepare-webserver.sh",
"lib/pkp/tools/travis/install-composer-dependencies.sh",
"npm i g -npm && npm install && npm run build",
"mv ${TRAVIS_BUILD_DIR} ~/${APPLICATION}/plugins/generic/lucene",
"sudo apt-get install openjdk-11-jre",
"cd plugins/generic/lucene/lib",
"wget https://archive.apache.org/dist/lucene/solr/8.1.1/solr-8.1.1.zip",
"unzip solr-8.1.1.zip",
"ln -s solr-8.1.1 solr",
"cd ../../../.."
],
"script": [
"git clone https://github.com/pkp/datasets",
"cp datasets/${APPLICATION}/${BRANCH}/${TEST}/config.inc.php .",
"cp -rf datasets/${APPLICATION}/${BRANCH}/${TEST}/public/* public/",
"cp -rf datasets/${APPLICATION}/${BRANCH}/${TEST}/files/* files/",
"cat datasets/${APPLICATION}/${BRANCH}/${TEST}/database.sql | ./datasets/tools/dbclient.sh",
"echo \"DELETE FROM submission_search_object_keywords; DELETE FROM submission_search_keyword_list; DELETE FROM submission_search_objects;\" | ./datasets/tools/dbclient.sh",
"php lib/pkp/tools/installPluginVersion.php plugins/generic/lucene/version.xml",
"sed -i -e \"s/files_dir = files/files_dir = \\/home\\/travis\\/ojs\\/files/\" config.inc.php",
"cd plugins/generic/lucene/embedded/bin",
"./chkconfig.sh",
"./start.sh",
"cd ../../../../..",
"$(npm bin)/cypress run --config integrationFolder=plugins/generic/lucene/cypress/tests"
],
"after_failure": [
"cat error.log",
"sudo apt-get install sharutils",
"tar cz cypress/screenshots | uuencode /dev/stdout"
]
}
Loading