Skip to content

Instantly share code, notes, and snippets.

@langalex
Created January 24, 2013 16:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save langalex/4624832 to your computer and use it in GitHub Desktop.
Save langalex/4624832 to your computer and use it in GitHub Desktop.
Parrallel tests with travis-ci
env:
- RUN_TESTS=cucumber
- RUN_TESTS=rspec_testunit
case ENV['RUN_TESTS']
when 'cucumber'
task ci: 'cucumber'
when 'rspec_testunit'
task ci: [:spec, 'test']
else
task ci: [:spec, 'cucumber', 'test']
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment