Merge pull request #22 from CactusPuppy/codecov-travis-tweaks
Minor testing setup changes
This commit is contained in:
commit
9b77e9b155
2 changed files with 16 additions and 11 deletions
|
|
@ -1 +1,6 @@
|
|||
coverage:
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
threshold: 0.5%
|
||||
comment: off
|
||||
|
|
|
|||
|
|
@ -12,23 +12,23 @@ else
|
|||
fi
|
||||
|
||||
case $TEST_SUITE in
|
||||
linters)
|
||||
linters|all)
|
||||
bundle exec rubocop -Dc .rubocop.yml
|
||||
bundle exec haml-lint app/views
|
||||
;;
|
||||
models)
|
||||
;;&
|
||||
models|all)
|
||||
bundle exec rspec --format documentation spec/models
|
||||
;;
|
||||
features)
|
||||
;;&
|
||||
features|all)
|
||||
bundle exec rspec --format documentation spec/features
|
||||
;;
|
||||
controllers)
|
||||
;;&
|
||||
controllers|all)
|
||||
bundle exec rspec --format documentation spec/controllers
|
||||
;;
|
||||
ability)
|
||||
;;&
|
||||
ability|all)
|
||||
bundle exec rspec --format documentation spec/ability
|
||||
;;
|
||||
rest)
|
||||
;;&
|
||||
rest|all)
|
||||
bundle exec rspec --format documentation --exclude-pattern "spec/{models,features,controllers,ability}/**/*_spec.rb"
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue