Skip to content

Commit 52fb7c1

Browse files
committed
Add PHPDocumentor 2 to travis-ci
1 parent 4ca3ef1 commit 52fb7c1

File tree

3 files changed

+2385
-226
lines changed

3 files changed

+2385
-226
lines changed

.travis.yml

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

88
before_script:
9-
- sudo apt-get -y install pypy
10-
- sudo apt-get -y install python-sphinx
9+
- sudo apt-get -y install pypy python-sphinx graphviz
1110
- composer selfupdate
1211
- composer install
1312

1413
script:
15-
- cd docs
16-
- make linkcheck
17-
- cd ..
18-
- phpunit --coverage-text
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)