summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2021-03-04 21:35:21 +0530
committerGitHub2021-03-04 21:35:21 +0530
commit85a2b6b61c74e2ed42d6c78f6b502a3c72dcf9ca (patch)
treedc8b56154af6981894a798c6f7c209cc90b39191 /.travis.yml
parentb2bf7b9fef33d59cd1e55776a51577d66a252322 (diff)
parent0697dc314471a2bde90d52b1726914c85a360470 (diff)
downloadonline_test-85a2b6b61c74e2ed42d6c78f6b502a3c72dcf9ca.tar.gz
online_test-85a2b6b61c74e2ed42d6c78f6b502a3c72dcf9ca.tar.bz2
online_test-85a2b6b61c74e2ed42d6c78f6b502a3c72dcf9ca.zip
Merge pull request #820 from adityacp/fix_upload_marks
Refactor upload marks for a quiz
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 0fad559..27b6dfe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,11 +29,14 @@ before_script:
# command to run tests and coverage
script:
- coverage erase
+ - celery multi start 1 -A online_test worker -B
- coverage run -p manage.py test -v 2 yaksh
- coverage run -p manage.py test -v 2 stats
- coverage run -p manage.py test -v 2 grades
- coverage run -p manage.py test -v 2 yaksh.live_server_tests.load_test
- coverage run -p manage.py test -v 2 api
+ - celery multi stop 1
+ - find . -type f -name "*.pid" -exec rm -f {} \;
after_success:
- coverage combine