Skip to content

Commit

Permalink
#41 Update 3.4 (#43)
Browse files Browse the repository at this point in the history
* #41 Update for 3.4 & and latest travis setup
  • Loading branch information
jardakotesovec committed Oct 23, 2023
1 parent 67a077e commit 8e9ba3d
Show file tree
Hide file tree
Showing 6 changed files with 708 additions and 301 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# @file
# .travis.yml - PKP Plugins Integration

dist: focal
os: linux

language: php

addons:
Expand All @@ -15,11 +18,11 @@ addons:
sudo: required

php:
- 7.3
- 7.4
- 8.1.0
- 8.2.0
env:
- APPLICATION=ojs BRANCH=master TEST=mysql
- APPLICATION=ojs BRANCH=master TEST=pgsql
- APPLICATION=ojs BRANCH=main TEST=mysql
- APPLICATION=ojs BRANCH=main TEST=pgsql

install:
# Prepare OJS environment
Expand All @@ -31,7 +34,7 @@ install:
# Build/install dependencies
- lib/pkp/tools/travis/install-composer-dependencies.sh
- npm i g -npm && npm install && npm run build
- ln -s ${TRAVIS_BUILD_DIR} ~/${APPLICATION}/plugins/themes/defaultManuscript
- mv ${TRAVIS_BUILD_DIR} ~/${APPLICATION}/plugins/themes/
# Install OJS & prep data environment
- $(npm bin)/cypress run --spec "cypress/tests/data/10-ApplicationSetup/10-Installation.cy.js,cypress/tests/data/10-ApplicationSetup/20-CreateContext.cy.js"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
<?php

/**
* @file plugins/themes/default/DefaultManuscriptChildThemePlugin.inc.php
* @file plugins/themes/default/DefaultManuscriptChildThemePlugin.php
*
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class DefaultManuscriptChildThemePlugin
* @ingroup plugins_themes_default_manuscript
*
* @brief Default theme
*/
import('lib.pkp.classes.plugins.ThemePlugin');
namespace APP\plugins\themes\defaultManuscript;

use PKP\plugins\ThemePlugin;

class DefaultManuscriptChildThemePlugin extends ThemePlugin {
/**
Expand Down Expand Up @@ -94,5 +96,3 @@ function getDescription() {
return __('plugins.themes.defaultManuscript.description');
}
}

?>
Loading

0 comments on commit 8e9ba3d

Please sign in to comment.