Changed buildbot makefile to use 'pytest'

This commit is contained in:
Panagiotis Atmatzidis 2016-01-19 09:03:01 +02:00
parent 4b3ea07983
commit 1f3d90ad46
1 changed files with 1 additions and 2 deletions

View File

@ -1,9 +1,8 @@
TRIAL := $(shell which trial)
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
export PYTHONPATH=$(PWD)
test:
coverage run --branch $(TRIAL) --reporter=text tests
py.test --cov=scrapy --cov-report= scrapy tests
rm -rf htmlcov && coverage html
-s3cmd sync -P htmlcov/ s3://static.scrapy.org/coverage-scrapy-$(BRANCH)/