diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-11-22 13:06:03 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-11-22 14:46:40 +0300 |
commit | 1478f16311802da46a629df8a4bb6cf18f45c016 (patch) | |
tree | 2a427ca0aea85456d2ef3244cac232ac8aad0a26 /.travis.yml | |
parent | 3493d8e411c388273ee2137df72509b187c00d33 (diff) |
Patch out version check on nightly builds
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 9ac31ff76..35c042754 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,9 @@ php: - 7.1 - 7.2 - 7.3 - - nightly -jobs: - allow_failures: - - php: nightly +#jobs: +# allow_failures: +# - php: nightly addons: apt: @@ -29,6 +28,7 @@ env: - PHP_COVERAGE=FALSE - TEST_SUITE=TEST-PHP - DB=mysql + - PATCH_VERSION_CHECK=FALSE matrix: - TEST_SUITE=LINT-PHP - TEST_SUITE=TEST-PHP @@ -51,6 +51,8 @@ matrix: env: "DB=sqlite CORE_BRANCH=stable17" - php: 7.4snapshot env: "DB=sqlite CORE_BRANCH=feature/php74" + - php: nightly + env: "DB=sqlite PATCH_VERSION_CHECK=TRUE" fast_finish: true branches: @@ -84,6 +86,8 @@ before_install: - sh -c "if [ '$TEST_SUITE' = 'TEST-PHP' ]; then make start-smtp-docker; fi" - 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' mail/appinfo/info.xml; fi - mv mail core/apps/ before_script: |