TESTS: rewrite tests using pytest and docker-compose

Experimentation to see if it is worth the effort
This commit is contained in:
Thomas LEVEIL committed 2017-02-16 21:40:54 +01:00
1 parent 985c46d8b5
commit 197d793a25
50 files changed
+1716 -1

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
.SILENT :
.PHONY : test-debian test-alpine test
update-dependencies:
requirements/build.sh
pip install -U -r requirements.txt
test-debian: update-dependencies
docker build -t jwilder/nginx-proxy:test ..
pytest
test-alpine: update-dependencies
docker build -f ../Dockerfile.alpine -t jwilder/nginx-proxy:test ..
pytest
test: test-debian test-alpine