Merge branch 'fix_push' into 'dev'

Merge remote-tracking branch 'origin/fix_req' into fix_req

See merge request !111
feature/fix_generate_pass
Andrey 8 years ago
commit f2dc1b94c5
  1. 14
      Envoy.blade.php

@ -11,6 +11,7 @@
@story('deploy', ['on' => 'localhost'])
clone_repository
create_symlinks
install_req
run_tests
update_symlinks
deployment_option_cleanup
@ -35,11 +36,18 @@ echo '>> Создание симлинков'
@endif
@endtask
@task('run_tests', ['on' => 'localhost'])
echo '>> Запускаем тесты'
@task('install_req', ['on' => 'localhost'])
echo '>> Подтягиваем зависимости'
@if ($branch)
cd {{ $new_release_dir }}
source /www/servers/python-server/bin/activate && pip install -r requirements.txt && python manage.py migrate && python manage.py test
source /www/servers/python-server/bin/activate && pip install -r requirements.txt
@endif
@endtask
@task('run_tests', ['on' => 'localhost'])
echo '>> Запускаем миграции тесты'
@if ($branch)
python manage.py migrate && python manage.py test
@endif
@endtask

Loading…
Cancel
Save