diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-09-07 16:17:51 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-09-07 16:21:50 +0300 |
commit | 15af370652190f84d67320e1cccbd131ce9336e3 (patch) | |
tree | ba60b8bd5e9800e4db3fcffc116903b826fdae19 /.drone.yml | |
parent | 31d06ea14962f076121022d6b207c3dbf0c715c6 (diff) |
>=3.1.3 to become compatible with 18 only
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 107 |
1 files changed, 7 insertions, 100 deletions
@@ -9,7 +9,7 @@ steps: image: nextcloudci/php7.2:php7.2-13 environment: APP_NAME: user_saml - CORE_BRANCH: master + CORE_BRANCH: stable18 DB: sqlite commands: - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh @@ -20,7 +20,7 @@ steps: trigger: branch: - - master + - stable-3.1 event: - pull_request - push @@ -29,76 +29,17 @@ type: docker --- kind: pipeline -name: tests-master - -clone: - depth: 1 - -steps: - - name: php7.2 - image: nextcloudci/php7.2:php7.2-13 - environment: - APP_NAME: user_saml - CORE_BRANCH: master - DB: sqlite - commands: - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB - - cd ../server/apps/$APP_NAME - - cd tests/unit/ - - phpunit --configuration phpunit.xml - - name: php7.3 - image: nextcloudci/php7.3:php7.3-5 - environment: - APP_NAME: user_saml - CORE_BRANCH: master - DB: sqlite - commands: - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB - - cd ../server/apps/$APP_NAME - - cd tests/unit/ - - phpunit --configuration phpunit.xml - - - name: integration-tests-master - image: nextcloudci/user_saml_shibboleth-php7.2:user_saml_shibboleth_php7.2-3 - environment: - CORE_BRANCH: master - commands: - - /start.sh & - - sleep 7 - - rm -rf /var/www/html - - cd /var/www/ - - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html - - cd /var/www/html && git submodule update --init - # use local clone - - cp -r /drone/src /var/www/html/apps/user_saml - - scl enable rh-php72 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'" - - chown -R apache:apache /var/www/html/ - - scl enable rh-php72 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" - - -trigger: - branch: - - master - event: - - pull_request - - push - -type: docker ---- -kind: pipeline -name: tests-19 +name: tests-18 clone: depth: 1 steps: - - name: php7.3-stable19 - image: nextcloudci/php7.3:php7.3-5 + - name: php7.2 + image: nextcloudci/php7.2:php7.2-13 environment: APP_NAME: user_saml - CORE_BRANCH: stable19 + CORE_BRANCH: stable18 DB: sqlite commands: - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh @@ -106,40 +47,6 @@ steps: - cd ../server/apps/$APP_NAME - cd tests/unit/ - phpunit --configuration phpunit.xml - - - name: integration-tests-stable19 - image: nextcloudci/user_saml_shibboleth-php7.2:user_saml_shibboleth_php7.2-3 - environment: - CORE_BRANCH: stable19 - commands: - - /start.sh & - - sleep 7 - - rm -rf /var/www/html - - cd /var/www/ - - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html - - cd /var/www/html && git submodule update --init - # use local clone - - cp -r /drone/src /var/www/html/apps/user_saml - - scl enable rh-php72 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'" - - chown -R apache:apache /var/www/html/ - - scl enable rh-php72 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" - -trigger: - branch: - - master - event: - - pull_request - - push - -type: docker ---- -kind: pipeline -name: tests-18 - -clone: - depth: 1 - -steps: - name: php7.3-stable18 image: nextcloudci/php7.3:php7.3-5 environment: @@ -172,7 +79,7 @@ steps: trigger: branch: - - master + - stable-3.1 event: - pull_request - push |