KONTOLODON
/
var
/
www
/
ojs-3.3.0-13
/
plugins
/
importexport
/
quickSubmit
/
Nama File / Folder
Size
Action
.git
--
NONE
classes
--
NONE
cypress
--
NONE
js
--
NONE
locale
--
NONE
templates
--
NONE
tests
--
NONE
.travis.yml
1.315KB
Hapus
Edit
Rename
LICENSE
34.325KB
Hapus
Edit
Rename
# @file # .travis.yml - PKP Plugins Integration language: php addons: apt: update: true sudo: required php: - 7.3 - 7.4 env: - APPLICATION=ojs BRANCH=master TEST=mysql - APPLICATION=ojs BRANCH=master TEST=pgsql install: # Prepare OJS/OMP environment - 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 # Build/install dependencies - lib/pkp/tools/travis/install-composer-dependencies.sh - npm i g -npm && npm install && npm run build # Make sure we're using the current checkout of this repo rather than the built-in OJS/OMP version - ln -s ${TRAVIS_BUILD_DIR} ~/${APPLICATION}/plugins/importexport/quickSubmit # Install OJS/OMP & prep data environment - $(npm bin)/cypress run --spec "cypress/tests/data/10-Installation.spec.js,cypress/tests/data/20-CreateContext.spec.js,cypress/tests/data/40-CreateUsers.spec.js,cypress/tests/data/50-CreateIssues.spec.js,cypress/tests/data/50-CreateSections.spec.js" script: - $(npm bin)/cypress run --config integrationFolder=plugins/importexport/quickSubmit/cypress/tests after_failure: - sudo apt-get install sharutils - tar cz cypress/screenshots | uuencode /dev/stdout