diff --git a/.drone.yml b/.drone.yml index 0b128f1..78dab25 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,9 +12,9 @@ steps: # 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 + - cd ../server/apps/$APP_NAME - composer install - - ./lib/composer/bin/parallel-lint apps/$APP_NAME/ + - ./vendor/bin/parallel-lint --exclude ./vendor/ . trigger: branch: @@ -23,3 +23,5 @@ trigger: event: - pull_request - push + +type: docker diff --git a/.gitignore b/.gitignore index 567609b..0e50f15 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ build/ +vendor/ +/composer.lock diff --git a/.nextcloudignore b/.nextcloudignore index 9f1b535..a337956 100644 --- a/.nextcloudignore +++ b/.nextcloudignore @@ -1,3 +1,4 @@ +composer.* .drone.yml .git .github diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..8d00bd3 --- /dev/null +++ b/composer.json @@ -0,0 +1,5 @@ +{ + "require-dev": { + "php-parallel-lint/php-parallel-lint": "^1.2" + } +} diff --git a/krankerl.toml b/krankerl.toml index 8cdad88..9ab570c 100644 --- a/krankerl.toml +++ b/krankerl.toml @@ -2,6 +2,6 @@ before_cmds = [ - + "composer install --no-dev" ]