Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-04-09 23:26:58 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-04-10 12:50:52 +0300
commitbd1073c07d44d60c097728428ad00332c05f43e6 (patch)
tree58451d0f86d7da2c6b374ea2d81e1f6da924de98 /.drone.yml
parentda1aa3b9833ca65aa2c0142ae9a45d104bd8d2c1 (diff)
fix using rh-php7x collection
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml20
1 files changed, 7 insertions, 13 deletions
diff --git a/.drone.yml b/.drone.yml
index 4db07b88..0bb6979d 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -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: