Skip to content

Commit

Permalink
Move docs generation to separate deploy stage
Browse files Browse the repository at this point in the history
  • Loading branch information
kattrali committed Feb 7, 2018
1 parent ca1c750 commit 5dffee9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,11 @@ jobs:
- stage: test
env: GEMSETS="test sidekiq"
rvm: 2.4.1

before_deploy:
- gem update --system 2.6.14
- gem --version
- gem install bundler -v 1.12
- bundle _1.12.0_ --version
- bundle _1.12.0_ install --with "$GEMSETS" --binstubs
- bundle exec rake rdoc
- stage: deploy
env: GEMSETS="test doc"
rvm: 2.4.1
script: bundle exec rake rdoc
if: tag =~ ^v[1-9]

deploy:
provider: pages
Expand Down
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ group :sidekiq, optional: true do
gem 'sidekiq', '~> 5.0.4'
end

group :doc, optional: true do
gem 'hanna-nouveau'
end

gemspec
1 change: 0 additions & 1 deletion bugsnag.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.required_ruby_version = '>= 1.9.2'
s.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
s.add_development_dependency 'hanna-nouveau'
end

0 comments on commit 5dffee9

Please sign in to comment.