Permalink
Browse files

First attempt to test it on Travis CI

  • Loading branch information...
1 parent d86374a commit 036230ede374244ff377c60eb33b495b56ad6878 @enriclluelles committed Jul 8, 2012
Showing with 31 additions and 7 deletions.
  1. +11 −0 .travis.yml
  2. +3 −2 Gemfile
  3. +2 −2 Rakefile
  4. +5 −0 gemfiles/Gemfile.rails-2.3.x
  5. +5 −0 gemfiles/Gemfile.rails-3.0.x
  6. +5 −0 gemfiles/Gemfile.rails-3.1.x
  7. +0 −3 route_translator.gemspec
View
@@ -0,0 +1,11 @@
+script: "bundle exec rake test"
+rvm:
+ - ree
+ - 1.9.3
+ - rbx
+ - jruby
+gemfile:
+ - gemfiles/Gemfile.rails-2.3.x
+ - gemfiles/Gemfile.rails-3.0.x
+ - gemfiles/Gemfile.rails-3.1.x
+ - Gemfile
View
@@ -1,4 +1,5 @@
-source 'https://rubygems.org'
+source "http://rubygems.org"
-# Specify your gem's dependencies in mec.gemspec
gemspec
+
+gem "rails", "~> 3.2.6"
View
@@ -2,7 +2,7 @@ require 'rake'
require 'rake/testtask'
require 'rdoc/task'
-desc 'Default: run unit tests.'
+desc 'Default: run tests.'
task :default => :test
desc 'Test the translate_routes plugin.'
@@ -15,7 +15,7 @@ end
desc 'Generate documentation for the translate_routes plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
- rdoc.title = 'TranslateRoutes'
+ rdoc.title = 'RouteTranslator'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
@@ -0,0 +1,5 @@
+source "http://rubygems.org"
+
+gem "route_translator", :path => ".."
+
+gem "rails", "~> 2.3.11"
@@ -0,0 +1,5 @@
+source "http://rubygems.org"
+
+gem "route_translator", :path => ".."
+
+gem "rails", "~>3.0.1"
@@ -0,0 +1,5 @@
+source "http://rubygems.org"
+
+gem "route_translator", path => ".."
+
+gem "rails", "~>3.1.0"
View
@@ -16,7 +16,4 @@ Gem::Specification.new do |s|
s.files = `git ls-files`.split($\) - %w(.gitignore)
s.test_files = `git ls-files test`.split($\)
s.require_paths = ["lib"]
-
- s.add_runtime_dependency 'activesupport'
- s.add_runtime_dependency 'actionpack'
end

0 comments on commit 036230e

Please sign in to comment.