diff options
| author | Robert | 2017-05-03 16:23:57 +0200 |
|---|---|---|
| committer | Robert | 2017-05-03 16:23:57 +0200 |
| commit | 9c1ce95c49b7410bd5e28ec13f9a8ed86b75dbc8 (patch) | |
| tree | a6c96d64d09b023b930d6c20318e3ed1581c7b29 /lib | |
| parent | b84f888ca9bd5b708def0c4cd2f34f3a94b0251f (diff) | |
| parent | 434ebbc37848384b28c0aedc3ca90cd56e34e08e (diff) | |
| download | chouette-core-9c1ce95c49b7410bd5e28ec13f9a8ed86b75dbc8.tar.bz2 | |
Merge branch 'master' of github.com:af83/stif-boiv
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/tasks/ci.rake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 926d10aca..658e4e04e 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -27,6 +27,11 @@ namespace :ci do sh "bundle exec bundle-audit check --update" 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" @@ -39,4 +44,4 @@ namespace :ci do end desc "Run continuous integration tasks (spec, ...)" -task :ci => ["ci:setup", "spec", "teaspoon", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"] +task :ci => ["ci:setup", "spec", "ci:teaspoon", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"] |
