Split features into separate travis job
This commit is contained in:
parent
33ccef59d5
commit
cccbdb2120
2 changed files with 6 additions and 2 deletions
|
|
@ -26,7 +26,8 @@ before_script:
|
|||
script:
|
||||
- "./travis_script.sh $TEST_SUITE"
|
||||
env:
|
||||
- TEST_SUITE=rspec
|
||||
- TEST_SUITE=linters
|
||||
- TEST_SUITE=rspec
|
||||
- TEST_SUITE=features
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
|
|
|||
|
|
@ -17,7 +17,10 @@ case $TEST_SUITE in
|
|||
bundle exec haml-lint app/views
|
||||
;;
|
||||
rspec)
|
||||
bundle exec rspec --color --format documentation
|
||||
bundle exec rspec --color --format documentation --exclude-pattern "spec/features/*_spec.rb"
|
||||
;;
|
||||
features)
|
||||
bundle exec rspec --color --format documentation spec/features/*_spec.rb
|
||||
;;
|
||||
*)
|
||||
bundle exec rubocop -Dc .rubocop.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue