travis: generate docs and fail if there are warnings
The idea is extracted from https://github.com/pry/pry/pull/1720. This ensures that documentation mistakes don't slip through the cracks in the future.
This commit is contained in:
parent
30c6f3635b
commit
b303372f97
|
@ -27,6 +27,9 @@ matrix:
|
|||
- rvm: 2.5
|
||||
name: "Run RuboCop linting"
|
||||
script: ruby -S bundle _1.15.4_ exec rubocop --parallel
|
||||
- rvm: 2.5
|
||||
name: "Run YARD linting"
|
||||
script: ruby -S bundle _1.15.4_ exec yardoc --fail-on-warning --no-progress
|
||||
|
||||
notifications:
|
||||
irc: "irc.freenode.org#pry"
|
||||
|
|
Loading…
Reference in New Issue