mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-13 14:16:05 +02:00
use PHP 8.0 image for master integration tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
68fc1fd228
commit
8f212c50e0
|
@ -6,21 +6,22 @@ clone:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: integration-tests-master
|
- name: integration-tests-master
|
||||||
image: nextcloudci/user_saml_shibboleth-php7.3:user_saml_shibboleth_php7.3-2
|
image: ghcr.io/nextcloud/continuous-integration-user_saml_shibboleth-php8.0:latest
|
||||||
environment:
|
environment:
|
||||||
CORE_BRANCH: master
|
CORE_BRANCH: master
|
||||||
commands:
|
commands:
|
||||||
- /start.sh &
|
- /start.sh &
|
||||||
- sleep 7
|
|
||||||
- rm -rf /var/www/html
|
- rm -rf /var/www/html
|
||||||
- cd /var/www/
|
- cd /var/www/
|
||||||
- git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html
|
- 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 && git submodule update --init
|
||||||
# use local clone
|
# use local clone
|
||||||
- cp -r /drone/src /var/www/html/apps/user_saml
|
- cp -r /drone/src /var/www/html/apps/user_saml
|
||||||
- scl enable rh-php73 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'"
|
- /wait-for-services.sh
|
||||||
|
- 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/
|
- chown -R apache:apache /var/www/html/
|
||||||
- scl enable rh-php73 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'"
|
- cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in a new issue