Skip to content

Commit

Permalink
Enable running tests with http://travis-ci.org/
Browse files Browse the repository at this point in the history
Remove test warnings from RubyGems.
Install dependency wkhtmltopdf before running the travis tests.
  • Loading branch information
donv committed Apr 13, 2015
1 parent 30739b1 commit 572bddd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -27,8 +27,10 @@ vendor

## PROJECT::SPECIFIC
dist
/stats

## IntelliJ IDEA
*.ipr
*.iml
*.iws
/.idea
6 changes: 6 additions & 0 deletions .travis.yml
@@ -0,0 +1,6 @@
language: ruby

before_install:
- git config --global user.name "TravisCI"
- git config --global user.email "noreply@example.com"
- sudo apt-get install wkhtmltopdf
7 changes: 5 additions & 2 deletions Gemfile
@@ -1,9 +1,8 @@
source :rubygems
source 'https://rubygems.org'

gemspec

group :development do
gem "mg"
gem "turn"
gem "rack-test"
gem "pdf-inspector"
Expand All @@ -13,3 +12,7 @@ group :optional do
gem "rmagick"
gem "pdfkit"
end

group :test do
gem 'rake'
end
2 changes: 2 additions & 0 deletions Rakefile
@@ -1,3 +1,5 @@
task default: :test

desc "Build HTML documentation"
task :doc do
system("rdoc --main README.rdoc README.rdoc documentation/*.rdoc")
Expand Down

0 comments on commit 572bddd

Please sign in to comment.