Skip to content

Commit e883ced

Browse files
committed
Don't use parallel_tests under travis
1 parent 6cdb48f commit e883ced

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

rake/common.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# Constants
22
BASEDIR = File.expand_path('..', File.dirname(__FILE__)).freeze
33
PUPPET_BINARY = File.join(BASEDIR, 'bin', 'puppet').freeze
4-
TEST_COMMAND = "parallel_rspec --suffix '_spec.rb$'".freeze
4+
TEST_COMMAND = begin
5+
if ENV['TRAVIS']
6+
"rspec --suffix '_spec.rb$'"
7+
else
8+
"parallel_rspec --suffix '_spec.rb$'"
9+
end
10+
end.freeze

0 commit comments

Comments
 (0)