Skip to content

Commit 1dd1676

Browse files
committed
Use composer, enable Travis-CI builds
1 parent 991260b commit 1dd1676

File tree

5 files changed

+50
-6
lines changed

5 files changed

+50
-6
lines changed

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# xp-framework/ftp
2+
3+
language: php
4+
5+
php:
6+
- 5.4
7+
- 5.5
8+
- 5.6
9+
- hhvm
10+
- hhvm-nightly
11+
12+
matrix:
13+
allow_failures:
14+
- php: hhvm
15+
- php: hhvm-nightly
16+
17+
before_script:
18+
- wget 'https://github.com/xp-framework/xp-runners/releases/download/v5.2.0/setup' -O - | php
19+
- composer install --prefer-dist
20+
- echo "vendor/autoload.php" > composer.pth
21+
- echo "use=vendor/xp-framework/core" > xp.ini
22+
- echo "[runtime]" >> xp.ini
23+
- echo "date.timezone=Europe/Berlin" >> xp.ini
24+
25+
script:
26+
- ./unittest src/test/php

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
FTP protocol support for the XP Framework
22
========================================================================
33

4+
[![Build Status on TravisCI](https://secure.travis-ci.org/xp-framework/ftp.svg)](http://travis-ci.org/xp-framework/ftp)
5+
[![XP Framework Module](https://raw.githubusercontent.com/xp-framework/web/master/static/xp-framework-badge.png)](https://github.com/xp-framework/core)
6+
[![BSD Licence](https://raw.githubusercontent.com/xp-framework/web/master/static/licence-bsd.png)](https://github.com/xp-framework/core/blob/master/LICENCE.md)
7+
[![Required PHP 5.4+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-5_4plus.png)](http://php.net/)
8+
[![Latest Stable Version](https://poser.pugx.org/xp-framework/ftp/version.png)](https://packagist.org/packages/xp-framework/ftp)
9+
410
Client
511
------
612

composer.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name" : "xp-framework/ftp",
3+
"type" : "library",
4+
"homepage" : "http://xp-framework.net/",
5+
"license" : "BSD-3-Clause",
6+
"description" : "FTP protocol support for the XP Framework",
7+
"keywords": ["module", "xp"],
8+
"require" : {
9+
"xp-framework/core": "dev-master",
10+
"php" : ">=5.4.0"
11+
},
12+
"autoload" : {
13+
"files" : ["src/main/php/autoload.php"]
14+
}
15+
}

glue.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/main/php/autoload.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php namespace xp;
2+
3+
\lang\ClassLoader::registerPath(__DIR__);

0 commit comments

Comments
 (0)