Skip to content

Commit ad8b959

Browse files
committed
Merge pull request #68 from webdevel/travis-ci-dev
Add Sphinx Doc and PHPDocumentor to Travis-CI
2 parents f618a51 + 5082715 commit ad8b959

File tree

5 files changed

+2389
-224
lines changed

5 files changed

+2389
-224
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ php:
66
- 5.5
77

88
before_script:
9-
- composer install --dev
9+
- sudo apt-get -y install pypy python-sphinx graphviz
10+
- composer selfupdate
11+
- composer install
1012

11-
script: phpunit --coverage-text
13+
script:
14+
- cd docs && make linkcheck && cd ..
15+
- vendor/bin/phpdoc.php -d src -t docs-api
16+
- vendor/bin/phpunit --coverage-text

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
},
4141
"require-dev": {
4242
"json-schema/JSON-Schema-Test-Suite": "1.1.0",
43-
"phpunit/phpunit": "~3.7.0"
43+
"phpunit/phpunit": "~3.7",
44+
"phpdocumentor/phpdocumentor": "~2"
4445
},
4546
"autoload": {
4647
"psr-0": { "JsonSchema": "src/" }

0 commit comments

Comments
 (0)