From bc5fc32fdf8015a069a0a22454400b5ed7b03abc Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Fri, 9 Oct 2015 10:57:36 +0530 Subject: move tests to new dir and modify travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index d70a43b..dea6396 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ env: # command to install dependencies install: - - "easy_install git+https://github.com/FOSSEE/online_test.git#egg=django_exam-0.1" + - pip install git+https://github.com/FOSSEE/online_test.git#egg=yaksh-0.1 - pip install -q Django==$DJANGO --use-mirrors before_install: @@ -18,5 +18,5 @@ before_install: # command to run tests script: - - nosetests ./yaksh/tests/ + - nosetests ./yaksh/evaluator_tests/ - python manage.py test \ No newline at end of file -- cgit From 5061c2a44ca6a9f69793a7cc00a1262aa2531fc4 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Fri, 9 Oct 2015 15:45:10 +0530 Subject: Fix test cases --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index dea6396..8f48a88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,6 @@ before_install: - sudo apt-get install -y scilab # command to run tests -script: - - nosetests ./yaksh/evaluator_tests/ - - python manage.py test \ No newline at end of file +script: + - test $DJANGO=1.5.7 && nosetests ./yaksh/evaluator_tests/ + - python manage.py test yaksh \ No newline at end of file -- cgit