diff options
-rw-r--r-- | .travis.yml | 17 | ||||
-rw-r--r-- | appinfo/info.xml | 2 |
2 files changed, 13 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 716716a..4cb15f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,9 @@ sudo: required dist: trusty language: php php: - - 7.1 - 7.2 - 7.3 + - 7.4snapshot addons: # Server requires PostgreSQL >= 9.5 @@ -26,17 +26,22 @@ env: - TEST_JS=FALSE - CORE_BRANCH=master - DB=sqlite + - PATCH_VERSION_CHECK=FALSE matrix: include: - - php: 7.1 + - php: 7.2 env: "DB=mysql PHP_COVERAGE=TRUE" - - php: 7.1 - env: "DB=mysql TEST_JS=TRUE" - php: 7.2 + env: "DB=mysql TEST_JS=TRUE" + - php: 7.3 env: "DB=pgsql" - php: 7.3 - env: "CORE_BRANCH=v17.0.0beta4" + env: "CORE_BRANCH=stable17" + - php: 7.3 + env: "CORE_BRANCH=v17.0.0" + - php: nightly + env: "PATCH_VERSION_CHECK=TRUE" fast_finish: true branches: @@ -70,6 +75,8 @@ before_install: - cd .. - git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b $CORE_BRANCH core + - if [[ "$PATCH_VERSION_CHECK" = "TRUE" ]]; then echo "<?php" > core/lib/versioncheck.php; fi + - if [[ "$PATCH_VERSION_CHECK" = "TRUE" ]]; then sed -ri 's/(<php min\-version="[0-9\.]+") max\-version="[0-9\.]+"/\1/g' twofactor_u2f/appinfo/info.xml; fi - mv twofactor_u2f core/apps/ before_script: diff --git a/appinfo/info.xml b/appinfo/info.xml index be5807a..d0dcf46 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -17,7 +17,7 @@ <screenshot>https://raw.githubusercontent.com/nextcloud/twofactor_u2f/4e0542d888236b7f212bed0b536244d08803466f/screenshots/settings.png</screenshot> <dependencies> - <php min-version="7.1" max-version="7.3"/> + <php min-version="7.2" max-version="7.4"/> <database>sqlite</database> <database>mysql</database> <database>pgsql</database> |