Skip to content

Commit

Permalink
Merge pull request gjedeer#116 from jdufresne/py3
Browse files Browse the repository at this point in the history
Use Python3 in testing
  • Loading branch information
gjedeer authored Jul 20, 2018
2 parents 749b9ce + 06865c1 commit 6bc226c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ before_install:
- sudo rabbitmqctl add_vhost celerypecl
- sudo rabbitmqctl set_permissions -p celerypecl gdr '.*' '.*' '.*'
# Celery
- sudo apt-get install -y python-virtualenv
- virtualenv venv
- venv/bin/pip install celery redis
- sudo apt-get install python-virtualenv
- virtualenv -p python3 venv
- venv/bin/pip install -r testscenario/requirements.txt
- venv/bin/celery worker --config celeryamqplibconfig --workdir $PWD/testscenario --detach --pidfile celeryamqplib.pid
- venv/bin/celery worker --config celerypeclconfig --workdir $PWD/testscenario --detach --pidfile celerypecl.pid
- venv/bin/celery worker --config celeryredisconfig --workdir $PWD/testscenario --detach --pidfile celeryredis.pid
Expand Down
2 changes: 2 additions & 0 deletions testscenario/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
celery
redis

0 comments on commit 6bc226c

Please sign in to comment.