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
|
comment: off
|
||||||
|
|
|
||||||
|
|
@ -12,23 +12,23 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case $TEST_SUITE in
|
case $TEST_SUITE in
|
||||||
linters)
|
linters|all)
|
||||||
bundle exec rubocop -Dc .rubocop.yml
|
bundle exec rubocop -Dc .rubocop.yml
|
||||||
bundle exec haml-lint app/views
|
bundle exec haml-lint app/views
|
||||||
;;
|
;;&
|
||||||
models)
|
models|all)
|
||||||
bundle exec rspec --format documentation spec/models
|
bundle exec rspec --format documentation spec/models
|
||||||
;;
|
;;&
|
||||||
features)
|
features|all)
|
||||||
bundle exec rspec --format documentation spec/features
|
bundle exec rspec --format documentation spec/features
|
||||||
;;
|
;;&
|
||||||
controllers)
|
controllers|all)
|
||||||
bundle exec rspec --format documentation spec/controllers
|
bundle exec rspec --format documentation spec/controllers
|
||||||
;;
|
;;&
|
||||||
ability)
|
ability|all)
|
||||||
bundle exec rspec --format documentation spec/ability
|
bundle exec rspec --format documentation spec/ability
|
||||||
;;
|
;;&
|
||||||
rest)
|
rest|all)
|
||||||
bundle exec rspec --format documentation --exclude-pattern "spec/{models,features,controllers,ability}/**/*_spec.rb"
|
bundle exec rspec --format documentation --exclude-pattern "spec/{models,features,controllers,ability}/**/*_spec.rb"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue