diff options
| author | Alban Peignier | 2017-05-03 15:39:49 +0200 | 
|---|---|---|
| committer | Alban Peignier | 2017-05-03 15:40:10 +0200 | 
| commit | 434ebbc37848384b28c0aedc3ca90cd56e34e08e (patch) | |
| tree | d199ca95994a2496f33cf3eb21600ae81a4b2c44 /lib/tasks | |
| parent | a0cf16f9ce054335757280e0798a5b112fdfb499 (diff) | |
| download | chouette-core-434ebbc37848384b28c0aedc3ca90cd56e34e08e.tar.bz2 | |
Use test env for teaspoon (#mybad). Refs #3275
Diffstat (limited to 'lib/tasks')
| -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 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"] | 
