mirror of https://github.com/scrapy/scrapy.git
Add travis configs for debian package building
This commit is contained in:
parent
80c296e091
commit
a63af8e756
12
.travis.yml
12
.travis.yml
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in New Issue