From 434ebbc37848384b28c0aedc3ca90cd56e34e08e Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Wed, 3 May 2017 15:39:49 +0200 Subject: Use test env for teaspoon (#mybad). Refs #3275 --- lib/tasks/ci.rake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/tasks') diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 79cf35db9..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", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"] +task :ci => ["ci:setup", "spec", "ci:teaspoon", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"] -- cgit v1.2.3