Allow building without server cloned

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-04-25 13:07:59 +02:00
parent f825dc27ee
commit fa28bbc330
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF
3 changed files with 46 additions and 1 deletions

44
.drone.yml Normal file
View file

@ -0,0 +1,44 @@
kind: pipeline
name: check-app-compatbility
steps:
- name: check-app-compatbility
image: nextcloudci/php7.1:php7.1-16
environment:
APP_NAME: guests
CORE_BRANCH: stable16
DB: sqlite
commands:
# Pre-setup steps
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server
# Code checker
- ./occ app:check-code $APP_NAME -c strong-comparison
- ./occ app:check-code $APP_NAME -c deprecation
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: frontend
steps:
- name: jsbuild
image: mhart/alpine-node:6.8.0
commands:
- apk add --no-cache make
- make
trigger:
branch:
- master
- stable*
event:
- pull_request
- push

1
img/rename.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 16" height="16" width="16"><path d="M12.594 1.344C12.062 1.314 11.5 1.5 11 2l3 3c1.5-1.5.188-3.563-1.406-3.656zM10 3l-7 7-2 5 5-2 7-7-3-3zm-6.5 7.5l2 2L3 14l-1-1 1.5-2.5z"/></svg>

After

Width:  |  Height:  |  Size: 250 B

View file

@ -49,7 +49,7 @@
content: '';
width: 16px;
height: 16px;
background: url('../../../core/img/actions/rename.svg') no-repeat center;
background: url('../img/rename.svg') no-repeat center;
opacity: 0;
&:hover {