Permalink
Browse files

add travis config;

  • Loading branch information...
1 parent 1c31cd4 commit 5ae31a5046e894569f265661619784f4b2bffa0c @wahyd4 wahyd4 committed Dec 5, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −0 .travis.yml
  2. +0 −1 Rakefile
View
@@ -0,0 +1,9 @@
+language: ruby
+rvm:
+ - 1.9.3
+env:
+ - DB=postgresql
+script:
+ - RAILS_ENV=test bundle exec rake ci --trace db:migrate test
+before_script:
+ - psql -c 'create database ocelots_test' -U postgres
View
@@ -6,5 +6,4 @@ require File.expand_path('../config/application', __FILE__)
Ocelots::Application.load_tasks
-task :default => %w(db:migrate db:test:prepare analyzer:flay analyzer:rails_best_practices simplecov stats)
task :ci => %w(db:migrate db:test:prepare analyzer:flay analyzer:rails_best_practices simplecov stats)

0 comments on commit 5ae31a5

Please sign in to comment.