diff --git a/.travis.yml b/.travis.yml index 58bf63d..a92766f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/testscenario/requirements.txt b/testscenario/requirements.txt new file mode 100644 index 0000000..d3323c8 --- /dev/null +++ b/testscenario/requirements.txt @@ -0,0 +1,2 @@ +celery +redis