Merge pull request #1690 from atmosx/buildbot-pytest

[MRG+1] Changed buildbot makefile to use 'pytest'
This commit is contained in:
Daniel Graña 2016-01-19 13:32:49 -03:00
commit 0013080a3c
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)/