1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/.travis.yml
Kyrylo Silin b303372f97 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.
2018-10-11 02:39:22 +08:00

41 lines
717 B
YAML

rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4.3
- 2.5
- jruby-9.1.15.0
- ruby-head
- jruby-head
install:
- ruby -S gem install bundler --version 1.15.4
- ruby -S bundle _1.15.4_ install --without docs
script:
- ruby -S bundle _1.15.4_ exec rspec
sudo: false
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
include:
- 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"
recipients:
- jrmair@gmail.com
branches:
only:
- master