1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-22 11:56:31 +00:00

TESTS: make test now runs tests from a docker container

This commit is contained in:
Thomas LEVEIL 2017-02-11 03:58:23 +01:00
parent e6bc7e6043
commit 743d9801e9

View File

@ -4,14 +4,13 @@
update-dependencies: update-dependencies:
requirements/build.sh requirements/build.sh
pip install -U -r requirements/python-requirements.txt
test-debian: update-dependencies test-debian: update-dependencies
docker build -t jwilder/nginx-proxy:test .. docker build -t jwilder/nginx-proxy:test ..
pytest -v ./test.sh -v
test-alpine: update-dependencies test-alpine: update-dependencies
docker build -f ../Dockerfile.alpine -t jwilder/nginx-proxy:test .. docker build -f ../Dockerfile.alpine -t jwilder/nginx-proxy:test ..
pytest -v ./test.sh -v
test: test-debian test-alpine test: test-debian test-alpine