Add travis configs for debian package building

This commit is contained in:
Luar Roji 2016-06-17 01:03:27 -03:00
parent 80c296e091
commit a63af8e756
2 changed files with 20 additions and 0 deletions

View File

@ -36,3 +36,15 @@ deploy:
tags: true
repo: scrapy/scrapy
condition: "$TOXENV == py27 && $TRAVIS_TAG =~ ^[0-9]+[.][0-9]+[.][0-9]+(rc[0-9]+|dev[0-9]+)?$"
after_deploy:
packaging/build.sh
deploy:
provider: bintray
file_glob: true
file: ${HOME}/packaging/*deb
user: luar
key: "apikey"
passphrase: "test"
dry-run: true

8
packaging/build.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/sh
apt-get install ruby-dev gcc make
gem install fpm
for i in deb rpm; do
fpm -s python -t $i -n scrapy .
done