Skip to content

Commit

Permalink
Move the app over to owncloud orga
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Jun 29, 2016
1 parent b04a20d commit 0642ea7
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 15 deletions.
10 changes: 10 additions & 0 deletions .scrutinizer.yml
@@ -0,0 +1,10 @@
filter:
excluded_paths:
- 'tests/*'

imports:
- php

tools:
external_code_coverage: true

11 changes: 7 additions & 4 deletions .travis.yml
Expand Up @@ -4,18 +4,22 @@ php:
- 5.5
- 5.6
- 7.0
- hhvm

env:
global:
- CORE_BRANCH=master
- APP_NAME=files_external_ftp
- DB=sqlite
matrix:
- FTPD=pure-ftpd
# - FTPD=pure-ftpd
- FTPD=proftpd
- FTPD=vsftpd

branches:
only:
- master
- /^stable\d+(\.\d+)?$/

before_install:
- sudo apt-get update -qq
- sudo apt-get install -yqq bc $FTPD
Expand All @@ -29,6 +33,7 @@ before_install:
- wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../core
- php occ app:enable files_external
- php occ app:enable $APP_NAME

script:
Expand All @@ -46,6 +51,4 @@ script:
- sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi"

matrix:
allow_failures:
- php: hhvm
fast_finish: true
12 changes: 4 additions & 8 deletions README.md
@@ -1,12 +1,8 @@
# files_external_ftp
Flysystem based ftp backend for ownCloud

Requires ownCloud 8.2 pre-alpha or later
Requires ownCloud 9.2 or later



[![Build Status](https://travis-ci.org/icewind1991/files_external_ftp.svg?branch=master)](https://travis-ci.org/icewind1991/files_external_ftp)

[![Code Coverage](https://scrutinizer-ci.com/g/icewind1991/files_external_ftp/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/icewind1991/files_external_ftp/?branch=master)

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/icewind1991/files_external_ftp/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/icewind1991/files_external_ftp/?branch=master)
[![Build Status](https://travis-ci.org/owncloud/files_external_ftp.svg?branch=master)](https://travis-ci.org/owncloud/files_external_ftp)
[![Code Coverage](https://scrutinizer-ci.com/g/owncloud/files_external_ftp/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/owncloud/files_external_ftp/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/owncloud/files_external_ftp/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/owncloud/files_external_ftp/?branch=master)
3 changes: 2 additions & 1 deletion appinfo/info.xml
Expand Up @@ -5,11 +5,12 @@
<description>FTP backend for files_external</description>
<licence>AGPL</licence>
<author>Robin Appelman</author>
<version>0.1.0</version>
<types>
<filesystem/>
</types>

<dependencies>
<owncloud min-version="8.1"/>
<owncloud min-version="9.1" max-version="9.2"/>
</dependencies>
</info>
1 change: 0 additions & 1 deletion appinfo/version

This file was deleted.

1 change: 1 addition & 0 deletions lib/ftp.php
Expand Up @@ -20,6 +20,7 @@
*/
namespace OCA\Files_External_FTP;

use League\Flysystem\FileNotFoundException;
use OC\Files\Storage\Flysystem;
use OC\Files\Storage\PolyFill\CopyDirectory;

Expand Down
3 changes: 2 additions & 1 deletion tests/bootstrap.php
Expand Up @@ -4,7 +4,8 @@

require_once __DIR__ . '/../../../lib/base.php';

\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
\OC::$composerAutoloader->addPsr4('Test\\', OC::$SERVERROOT . '/tests/lib/', true);
\OC::$composerAutoloader->addPsr4('Tests\\', OC::$SERVERROOT . '/tests/', true);

if (!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
Expand Down

0 comments on commit 0642ea7

Please sign in to comment.