diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2018-10-11 01:18:07 +0800 |
---|---|---|
committer | Kyrylo Silin <silin@kyrylo.org> | 2018-10-11 02:39:22 +0800 |
commit | b303372f97d3caa6372cc11df055662dcdcc1d08 (patch) | |
tree | 1205c71212943b0483724ee6c7a5d4edec5af1fc | |
parent | 30c6f3635b79c207debaf143da6621ed24d800e4 (diff) | |
download | pry-b303372f97d3caa6372cc11df055662dcdcc1d08.tar.gz |
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.
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 2696d141..858be910 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" |