Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 335964d

Browse files
authored
Merge pull request #132 from juanjux/pypi
Add upload to pypi from travis tags
2 parents f289d09 + 14fae9f commit 335964d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ install:
1717
- pip3 install -r requirements.txt
1818
- python3 setup.py --getdeps --log
1919
- pip3 install . --upgrade
20+
- if [[ -z "$TRAVIS_TAG" ]]; then exit 0; fi
21+
- echo "[distutils]" > $HOME/.pypirc
22+
- echo "index-servers = " >> $HOME/.pypirc
23+
- echo " pypi" >> $HOME/.pypirc
24+
- echo "[pypi]" >> $HOME/.pypirc
25+
- echo "username=$PYPI_USER" >> $HOME/.pypirc
26+
- echo "password=$PYPI_PASS" >> $home/.pypirc
27+
- python setup.py sdist upload
2028
script:
2129
- python3 setup.py build_ext -i
2230
- python3 -m unittest discover .

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from setuptools import setup, find_packages, Extension
1313
from setuptools.command.build_ext import build_ext
1414

15-
VERSION = "2.12.3"
15+
VERSION = "2.12.4"
1616
LIBUAST_VERSION = "v1.9.5"
1717
SDK_VERSION = "v1.16.1"
1818
SDK_MAJOR = SDK_VERSION.split('.')[0]

0 commit comments

Comments
 (0)