diff options
| author | Alban Peignier | 2017-08-24 09:34:34 +0200 |
|---|---|---|
| committer | Alban Peignier | 2017-08-24 09:34:34 +0200 |
| commit | 5aec3648aef7b3cfc7f1601d472cab551b9ad54d (patch) | |
| tree | 7141e6dfad7c1d97e0232bc4f71b16fc9dcefbe9 /lib/tasks | |
| parent | fd168f1aa111f915ba2a58e24617267fcb5cbe0c (diff) | |
| download | chouette-core-5aec3648aef7b3cfc7f1601d472cab551b9ad54d.tar.bz2 | |
Add --profile option to rspec during ci tasks
Diffstat (limited to 'lib/tasks')
| -rw-r--r-- | lib/tasks/ci.rake | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 658e4e04e..d9828ae15 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -27,11 +27,14 @@ namespace :ci do sh "bundle exec bundle-audit check --update" end + task :spec do + sh "bundle exec rspec --profile" + end + task :teaspoon do sh "RAILS_ENV=test bundle exec rake teaspoon" end - desc "Deploy after CI" task :deploy do sh "cap #{deploy_env} deploy:migrations" @@ -44,4 +47,4 @@ namespace :ci do end desc "Run continuous integration tasks (spec, ...)" -task :ci => ["ci:setup", "spec", "ci:teaspoon", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"] +task :ci => ["ci:setup", "ci:spec", "ci:teaspoon", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"] |
