Skip to content

Commit

Permalink
Merge pull request #68 from webdevel/travis-ci-dev
Browse files Browse the repository at this point in the history
Add Sphinx Doc and PHPDocumentor to Travis-CI
  • Loading branch information
justinrainbow committed Dec 8, 2013
2 parents f618a51 + 5082715 commit ad8b959
Show file tree
Hide file tree
Showing 5 changed files with 2,389 additions and 224 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ php:
- 5.5

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

script: phpunit --coverage-text
script:
- 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 ad8b959

Please sign in to comment.