Skip to content

Commit

Permalink
Bump distribution, add php8.2 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Dec 21, 2023
1 parent 8380ebd commit ee903cd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# @file
# .travis.yml - PKP Plugins Integration

dist: bionic
dist: focal
os: linux
language: php

Expand All @@ -14,9 +14,12 @@ addons:
- libvulkan1
- libu2f-udev

sudo: required

php:
- 8.0
- 8.1
- 8.1.0
- 8.2.0

env:
- APPLICATION=ojs BRANCH=main TEST=mysql
- APPLICATION=ojs BRANCH=main TEST=pgsql
Expand All @@ -26,6 +29,7 @@ env:
- APPLICATION=ops BRANCH=main TEST=pgsql

install:
- php --version | grep "PHP 8.2" && sudo apt-get install libonig5
# Prepare OJS/OMP environment
- git clone -b ${BRANCH} https://github.com/pkp/${APPLICATION} ~/${APPLICATION}
- cd ~/${APPLICATION}
Expand All @@ -43,3 +47,5 @@ script:
- $(npm bin)/cypress run --config '{"specPattern":["plugins/generic/customHeader/cypress/tests/functional/*.cy.js"]}'
after_failure:
- cat error.log
- sudo apt-get install sharutils
- tar cz cypress/screenshots | uuencode /dev/stdout

0 comments on commit ee903cd

Please sign in to comment.