Skip to content

Commit

Permalink
Test at multiple celery concurrency levels
Browse files Browse the repository at this point in the history
  • Loading branch information
joealcorn committed Sep 3, 2015
1 parent 000af67 commit 46c6f15
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 46c6f15

Please sign in to comment.