Skip to content

Commit eecf092

Browse files
committed
Merge pull request #11 from upyun/feature/composer
Feature/composer
2 parents bfd5c7f + 64ae047 commit eecf092

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
.DS_Store
22
test.php
3+
vendor/
4+
composer.lock

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ php:
44
- "5.4"
55
- "5.5"
66
- "5.6"
7+
- "7.0"
8+
before_script:
9+
- composer install
710
script:
811
- phpunit -c phpunit.xml

composer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "upyun/php-sdk",
3+
"description": "UPYUN sdk for php",
4+
"keywords": ["UPYUN", "sdk"],
5+
"type": "library",
6+
"homepage": "https://github.com/upyun/php-sdk/",
7+
"license": "MIT",
8+
"require": {
9+
"php": ">=5.3.0"
10+
},
11+
"require-dev": {
12+
"phpunit/phpunit": "~4.0"
13+
},
14+
"authors": [
15+
{
16+
"name": "lfeng",
17+
"email": "bonevv@gmail.com"
18+
},
19+
{
20+
"name": "lvtongda",
21+
"email": "riyao.lyu@gmail.com"
22+
}
23+
],
24+
"autoload": {
25+
"files": ["upyun.class.php"]
26+
}
27+
}

0 commit comments

Comments
 (0)