1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-14 14:05:01 +00:00
scrapy/Makefile.buildbot

22 lines
530 B
Makefile
Raw Normal View History

TRIAL := $(shell which trial)
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
export PYTHONPATH=$(PWD)
test:
2014-08-05 04:15:25 -07:00
coverage run --branch $(TRIAL) --reporter=text tests
rm -rf htmlcov && coverage html
-s3cmd sync -P htmlcov/ s3://static.scrapy.org/coverage-scrapy-$(BRANCH)/
build:
2014-08-01 15:29:59 -03:00
test $(BRANCH) != master || git describe >scrapy/VERSION
python extras/makedeb.py build
clean:
2013-02-06 11:44:26 -02:00
git checkout debian scrapy/VERSION
git clean -dfq
pypi:
umask 0022 && chmod -R a+rX . && python setup.py sdist upload
.PHONY: clean test build