From e14785d01646b6a6f264d62bc6908b231759be91 Mon Sep 17 00:00:00 2001 From: Alec Smecher Date: Tue, 13 Sep 2022 18:49:17 -0700 Subject: [PATCH] Sync travis config from staticPages --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 20b7006..7c6d399 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,20 @@ # @file # .travis.yml - PKP Plugins Integration +dist: bionic +os: linux language: php addons: + postgresql: "9.5" apt: update: true sudo: required php: - - 7.3 - - 7.4 + - 8.0 + - 8.1.0 env: - APPLICATION=ojs BRANCH=main TEST=mysql - APPLICATION=ojs BRANCH=main TEST=pgsql @@ -32,3 +35,8 @@ install: script: - $(npm bin)/cypress run --config integrationFolder=plugins/themes/healthSciences/cypress/tests/functional + +after_failure: + - cat error.log + - sudo apt-get install sharutils + - tar cz cypress/screenshots | uuencode /dev/stdout