Skip to content

Commit 489c6e9

Browse files
committed
added travis-ci integration
1 parent 7e5e938 commit 489c6e9

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: php
2+
before_script:
3+
- cd $TRAVIS_BUILD_DIR
4+
- composer self-update
5+
- composer install --no-interaction
6+
script:
7+
- cd $TRAVIS_BUILD_DIR
8+
- php vendor/bin/phpdoc -d . -t docs --ignore vendor/,docs/,examples/
9+
deploy:
10+
provider: pages
11+
github-token: $GITHUB_TOKEN
12+
skip-cleanup: true
13+
local-dir: docs
14+
branches:
15+
only:
16+
- master

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# SinusBot API PHP-Class
22

3+
[![Build Status](https://travis-ci.org/SinusBot/api-php.svg?branch=master)](https://travis-ci.org/SinusBot/api-php)
4+
35
> PHP-Class for the SinusBot (http://sinusbot.com)
46
57
You can retrieve information with the PHP-Class. It is now possible to view the current status and the current title of the track or stream on your own homepage via PHP.

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require-dev": {
3+
"phpdocumentor/phpdocumentor": "2.*"
4+
}
5+
}

0 commit comments

Comments
 (0)