Skip to content

Commit

Permalink
Add PHPDocumentor 2 to travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
webdevel committed Aug 26, 2013
1 parent 4ca3ef1 commit 52fb7c1
Show file tree
Hide file tree
Showing 3 changed files with 2,385 additions and 226 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ php:
- 5.5

before_script:
- sudo apt-get -y install pypy
- sudo apt-get -y install python-sphinx
- sudo apt-get -y install pypy python-sphinx graphviz
- composer selfupdate
- composer install

script:
- cd docs
- make linkcheck
- cd ..
- phpunit --coverage-text
- cd docs && make linkcheck && cd ..
- vendor/bin/phpdoc.php -d src -t docs-api
- vendor/bin/phpunit --coverage-text
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
},
"require-dev": {
"json-schema/JSON-Schema-Test-Suite": "1.1.0",
"phpunit/phpunit": "~3.7.0"
"phpunit/phpunit": "~3.7",
"phpdocumentor/phpdocumentor": "~2"
},
"autoload": {
"psr-0": { "JsonSchema": "src/" }
Expand Down
Loading

0 comments on commit 52fb7c1

Please sign in to comment.