Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update travis build #69

Merged
merged 4 commits into from
Nov 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ matrix:
fast_finish: true
rvm:
- 2.1.10
- 2.2.5
- 2.3.1
- 2.2.6
- 2.3.3
sudo: false
after_success:
- bin/rake doc:travis
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,10 @@ namespace :doc do
sh "git push origin gh-pages"
sh "git checkout -"
end

task :travis do
ENV["TRAVIS_PULL_REQUEST"] == "false" &&
ENV["TRAVIS_BRANCH"] == "master" &&
Rake::Task["doc:publish"].invoke
end
end