Add oauth features to travis as a separate build. Combinatoric explosion FTW
This commit is contained in:
parent
c30e3ee362
commit
a9ac7329d1
2 changed files with 6 additions and 0 deletions
|
|
@ -9,8 +9,10 @@ rvm:
|
|||
|
||||
env:
|
||||
- DB=postgres BUILD_TYPE=cucumber
|
||||
- DB=postgres BUILD_TYPE=oauth-cucumber
|
||||
- DB=postgres BUILD_TYPE=other
|
||||
- DB=mysql BUILD_TYPE=cucumber
|
||||
- DB=mysql BUILD_TYPE=oauth-cucumber
|
||||
- DB=mysql BUILD_TYPE=other
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@ namespace :ci do
|
|||
puts "Running cucumber features..."
|
||||
system("export DISPLAY=:99.0 && bundle exec rake cucumber")
|
||||
raise "Cucumber failed!" unless $?.exitstatus == 0
|
||||
elsif ENV['BUILD_TYPE'] == 'oauth-cucumber'
|
||||
puts "Running oauth cucumber features..."
|
||||
system("export DISPLAY=:99.0 && CI=true bundle exec rake cucumber")
|
||||
raise "OAuth cucumber failed!" unless $?.exitstatus == 0
|
||||
else
|
||||
["rspec spec", "rake jasmine:ci"].each do |cmd|
|
||||
puts "Starting to run #{cmd}..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue