File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : cpp
22sudo : true
3+ dist : xenial
34
45services :
56 - docker
@@ -28,9 +29,8 @@ before_deploy:
2829 - cd ${TRAVIS_BUILD_DIR}
2930
3031deploy :
31- - provider : pypi
32- user : " ${PYPI_USERNAME}"
33- password : " ${PYPI_PASSWORD}"
32+ - provider : script
33+ script : bash ci/scripts/pypi_deploy.sh
3434 on :
3535 tags : true
3636- provider : bintray
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # This file is part of servoarray.
3+ #
4+ # servoarray is free software: you can redistribute it and/or modify
5+ # it under the terms of the GNU General Public License as published by
6+ # the Free Software Foundation, either version 3 of the License, or
7+ # (at your option) any later version.
8+ #
9+ # servoarray is distributed in the hope that it will be useful,
10+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+ # GNU General Public License for more details.
13+ #
14+ # You should have received a copy of the GNU General Public License
15+ # along with servoarray. If not, see <http://www.gnu.org/licenses/>.
16+
17+ set -euo pipefail
18+
19+ apt install -y twine
20+ twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} dist/*
You can’t perform that action at this time.
0 commit comments