From 46c6f150732527d3709eb896d6bd28e70b5e7f66 Mon Sep 17 00:00:00 2001 From: Joe Alcorn Date: Thu, 3 Sep 2015 12:38:00 +0100 Subject: [PATCH] Test at multiple celery concurrency levels --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 53df7b2..7913688 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,11 @@ install: "pip install -r dev-requirements.txt" services: - redis-server +env: + - CELERYD_CONCURRENCY=1 + - CELERYD_CONCURRENCY=2 + - CELERYD_CONCURRENCY=4 + script: - - celery worker -l debug --config tests.settings &> celery.log & + - celery worker -l debug --config tests.settings -c $CELERYD_CONCURRENCY &> celery.log & - py.test