mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
f817db1053
* `.travis.yml` - Reformatted for easier reading - Used `before_*` statements instead of script chains - Publish only source packages * `setup.py` - Reformatted for easier reading - Use README contents for `long_description` to have a nice description on PyPI - Added classifiers - Added explicit package dependencies * fixes #658 * fixes #708
25 lines
560 B
YAML
25 lines
560 B
YAML
language: python
|
|
python:
|
|
- '2.7'
|
|
- '3.6'
|
|
- '3.7'
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- diffstat
|
|
sudo: false
|
|
before_script: cd $TRAVIS_BUILD_DIR/tests
|
|
script: python suite.py
|
|
before_deploy:
|
|
- cd $TRAVIS_BUILD_DIR/
|
|
- rm -rf $TRAVIS_BUILD_DIR/dist/*
|
|
deploy:
|
|
provider: pypi
|
|
user: suse
|
|
password:
|
|
secure: R4+YNPW2tsiY06hibGvONYn0//1z1QdcY8VmNbYpIRly4eTAbPE9uejKpyuflUkznpEkoqCdFzi5FNFhgat9N+AkIKyX9NTkf0oxaKKbdqBM7H1V8bqLYlAO479262spRyO0ee5fV5v6g81AFjncIV+pGjtQ0Vg/sjVcvGa61bs=
|
|
on:
|
|
tags: true
|
|
distributions: sdist
|
|
repo: openSUSE/osc
|