From b303372f97d3caa6372cc11df055662dcdcc1d08 Mon Sep 17 00:00:00 2001 From: Kyrylo Silin Date: Thu, 11 Oct 2018 01:18:07 +0800 Subject: 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. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) 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" -- cgit v1.2.1