awx/tools/docker-compose/unit-tests/docker-compose.yml
Shane McDonald ba8290a94a Fix pip install in unit test container
The SWIG_FEATURES environment variable is to get pip install working with M2Crypto==0.22.3. It works without SWIG_FEATURES if we update to M2Crypto >= 0.23.0.

Also did some organization, add README.
2016-09-16 11:15:30 -04:00

14 lines
319 B
YAML

---
version: '2'
services:
unit-tests:
build:
context: ../../../
dockerfile: tools/docker-compose/unit-tests/Dockerfile
environment:
SWIG_FEATURES: "-cpperraswarn -includeall -I/usr/include/openssl"
command: ["make requirements_test test"]
volumes:
- ../../../:/ansible-tower