aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2017-05-03 15:39:49 +0200
committerAlban Peignier2017-05-03 15:40:10 +0200
commit434ebbc37848384b28c0aedc3ca90cd56e34e08e (patch)
treed199ca95994a2496f33cf3eb21600ae81a4b2c44
parenta0cf16f9ce054335757280e0798a5b112fdfb499 (diff)
downloadchouette-core-434ebbc37848384b28c0aedc3ca90cd56e34e08e.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"]