aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2017-05-03 15:39:49 +0200
committerjpl2017-05-04 10:11:35 +0200
commit77fa376138b27428a657204b11219e91c21cc24a (patch)
tree5229ec164d192a6d9943ff1396b5858a97870b55
parentc920a983fe31cd60d71516864f4b43f075fdf828 (diff)
downloadchouette-core-77fa376138b27428a657204b11219e91c21cc24a.tar.bz2
Use test env for teaspoon (#mybad). Refs #3275
-rw-r--r--lib/tasks/ci.rake7
1 files changed, 6 insertions, 1 deletions
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"]