Skip to content
This repository
Browse code

update travis config

  • Loading branch information...
commit bbd6632afeedbe74e798addf129965f84b02af48 1 parent d69ed84
Jan Berdajs authored June 07, 2012

Showing 2 changed files with 3 additions and 4 deletions. Show diff stats Hide diff stats

  1. 3  .travis.yml
  2. 4  Rakefile
3  .travis.yml
@@ -2,9 +2,8 @@ language: ruby
2 2
 branches:
3 3
   only:
4 4
     - master
5  
-    - travis
6 5
 before_script:
7  
-  - "cd test/dummy && rake db:schema:load && rake db:test:prepare"
  6
+  - "cd test/dummy && rake db:schema:load && rake db:test:prepare && cd ../.."
8 7
 rvm:
9 8
   - 1.8.7
10 9
   - ree
4  Rakefile
@@ -22,17 +22,17 @@ end
22 22
 
23 23
 Bundler::GemHelper.install_tasks
24 24
 
25  
-=begin
26 25
 require 'rspec/core/rake_task'
27 26
 RSpec::Core::RakeTask.new(:spec) do |spec|
28 27
   spec.pattern = 'test/dummy/spec{,/*/**}/*_spec.rb'
29 28
 end
30  
-=end
31 29
 
  30
+=begin
32 31
 task :spec do
33 32
   puts "Running RSpec tests in test/dummy/spec..."
34 33
   system("export DISPLAY=:99.0 && cd test/dummy && bundle exec rspec spec")
35 34
   raise "RSpec tests failed!" unless $?.exitstatus == 0
36 35
 end
  36
+=end
37 37
 
38 38
 task :default  => [:spec]

0 notes on commit bbd6632

Please sign in to comment.
Something went wrong with that request. Please try again.