diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-04-09 23:26:58 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-04-10 12:50:52 +0300 |
commit | bd1073c07d44d60c097728428ad00332c05f43e6 (patch) | |
tree | 58451d0f86d7da2c6b374ea2d81e1f6da924de98 /.drone.yml | |
parent | da1aa3b9833ca65aa2c0142ae9a45d104bd8d2c1 (diff) |
fix using rh-php7x collection
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -70,22 +70,20 @@ steps: - cd tests/unit/ - phpunit --configuration phpunit.xml - name: integration-tests-master - image: nextcloudci/user_saml_shibboleth-php7:user_saml_shibboleth_php7-5 + image: nextcloudci/user_saml_shibboleth-php7.2:user_saml_shibboleth_php7.2-1 environment: CORE_BRANCH: master commands: - /start.sh & - sleep 3 - - scl enable rh-php70 bash - 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 - cd /var/www/html/apps/ && git clone -b $DRONE_BRANCH https://github.com/nextcloud/user_saml.git - - php /var/www/html/occ maintenance:install --database sqlite --admin-pass password - - php /var/www/html/occ app:enable 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/ - - cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat + - scl enable rh-php72 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" trigger: branch: @@ -121,16 +119,14 @@ steps: commands: - /start.sh & - sleep 3 - - scl enable rh-php70 bash - 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 - cd /var/www/html/apps/ && git clone -b $DRONE_BRANCH https://github.com/nextcloud/user_saml.git - - php /var/www/html/occ maintenance:install --database sqlite --admin-pass password - - php /var/www/html/occ app:enable user_saml + - scl enable rh-php70 "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/ - - cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat + - scl enable rh-php70 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" trigger: branch: @@ -166,16 +162,14 @@ steps: commands: - /start.sh & - sleep 3 - - scl enable rh-php70 bash - 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 - cd /var/www/html/apps/ && git clone -b $DRONE_BRANCH https://github.com/nextcloud/user_saml.git - - php /var/www/html/occ maintenance:install --database sqlite --admin-pass password - - php /var/www/html/occ app:enable user_saml + - scl enable rh-php70 "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/ - - cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat + - scl enable rh-php70 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" trigger: branch: |