1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-19 16:56:17 +02:00
github.com_openSUSE_osc/.travis.yml
Andreas Hasenkopf dba77a315b CI pipeline: Skip cleanup prior to deployment
Deployment via Travis CI failed due an error during
cleanup (#884):

`Could not restore untracked files from stash entry`

Disabling the cleanup fixes this problem.
2020-12-28 10:25:37 +01:00

28 lines
613 B
YAML

language: python
python:
- '2.7'
- '3.6'
- '3.7'
- '3.8'
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
skip_existing: true
skip_cleanup: true
user: suse
password:
secure: R4+YNPW2tsiY06hibGvONYn0//1z1QdcY8VmNbYpIRly4eTAbPE9uejKpyuflUkznpEkoqCdFzi5FNFhgat9N+AkIKyX9NTkf0oxaKKbdqBM7H1V8bqLYlAO479262spRyO0ee5fV5v6g81AFjncIV+pGjtQ0Vg/sjVcvGa61bs=
on:
tags: true
distributions: sdist
repo: openSUSE/osc