Add postgres CI pipeline

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/518/head
Julius Härtl 2019-05-08 12:48:23 +02:00
rodzic 4ab6b9cf6e
commit 99ca532317
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4C614C6ED2CDE6DF
1 zmienionych plików z 28 dodań i 0 usunięć

Wyświetl plik

@ -102,6 +102,34 @@ trigger:
- push
---
kind: pipeline
name: php7.1-postgres
steps:
- name: php7.1
image: nextcloudci/php7.1:php7.1-16
environment:
APP_NAME: social
CORE_BRANCH: stable15
DB: postgres
commands:
- bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server/apps/$APP_NAME
- composer install
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
services:
- name: postgres
image: postgres:10
environment:
POSTGRES_USER: oc_autotest
POSTGRES_DB: oc_autotest_dummy
POSTGRES_PASSWORD: owncloud
trigger:
branch:
- master
event:
- pull_request
- push
---
kind: pipeline
name: frontend
steps:
- name: eslint