Commit 7722ba3a authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Another syntax fix

parent 544c0854
......@@ -57,12 +57,12 @@ test:
- >
docker create --name fractalis_tests -i -t $DOCKER_USER/$DOCKER_IMAGE_TAG
sh -c "
find tests/ -type d -name '__pycache__' -exec rm -rf {} + \
&& printf \"REDIS_HOST='$REDIS_PORT_6379_TCP_ADDR'\nBROKER_URL='amqp://guest:guest@$RABBITMQ_PORT_5672_TCP_ADDR:5672//'\nCELERY_RESULT_BACKEND='redis://$REDIS_PORT_6379_TCP_ADDR:6379'\"
printf \"REDIS_HOST='$REDIS_PORT_6379_TCP_ADDR'\nBROKER_URL='amqp://guest:guest@$RABBITMQ_PORT_5672_TCP_ADDR:5672//'\nCELERY_RESULT_BACKEND='redis://$REDIS_PORT_6379_TCP_ADDR:6379'\"
> /config.py
&& export FRACTALIS_CONFIG=/config.py
&& celery worker -D -A fractalis:celery -l debug --concurrency=1
&& cd /tests
&& find . -type d -name '__pycache__' -exec rm -rf {} + \
&& pip3 install -r requirements.txt
&& flake8 /usr/local/lib/python3.6/site-packages/fractalis/
&& pytest --cov /usr/local/lib/python3.6/site-packages/fractalis/ tests/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment