From f0596cb446f39656e5b2fcab613cd34149372193 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Tue, 4 Aug 2015 23:16:07 -0300 Subject: [PATCH] Running behave on travis --- .travis.yml | 3 ++- tests/run.py | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2bc6db2..b575d95 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,11 +10,12 @@ env: - DJANGO_SETTINGS_MODULE=tests.settings install: - - pip install coveralls flake8 + - pip install coveralls flake8 behave behave_django - pip install . script: - python setup.py test + - colab-admin behave - flake8 colab after_success: diff --git a/tests/run.py b/tests/run.py index 52b3623..e892cab 100755 --- a/tests/run.py +++ b/tests/run.py @@ -13,7 +13,6 @@ import django import coverage from django.conf import settings -from django.core.management import execute_from_command_line from django.test.utils import get_runner @@ -23,7 +22,6 @@ def runtests(): test_runner = get_runner(settings) failures = test_runner(interactive=False, failfast=False).run_tests([]) - execute_from_command_line(['colab-admin', 'behave']) sys.exit(failures) -- libgit2 0.21.2