File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -119,14 +119,16 @@ jobs:
119
119
- unzip -d ~/.local protoc.zip && rm protoc.zip
120
120
- go get -v github.com/golang/dep/cmd/dep
121
121
- export PATH=$GOPATH/bin:$PATH
122
- - pip install twine pyopenssl
122
+ - (wget -O - https://bootstrap.pypa.io/get-pip.py || wget -O - https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py) | sudo python3 - pip==18.1
123
+ - sudo pip3 install twine pyopenssl
123
124
script :
124
- - test $(python3 python/setup.py --version) == $TRAVIS_TAG
125
+ - test v $(python3 python/setup.py --version) == $TRAVIS_TAG
125
126
install :
126
127
- set -e
127
128
- travis_retry make
128
129
- cd python
129
130
- python3 setup.py bdist_wheel
131
+ - cp dist/*py3-none-any* $GOPATH/bin
130
132
- cd ..
131
133
after_success :
132
134
- gzip -S .linux_amd64.gz $GOPATH/bin/hercules
@@ -139,7 +141,7 @@ jobs:
139
141
on :
140
142
tags : true
141
143
- provider : script
142
- script : twine upload python/dist /*py3-none-any* -u $PYPI_LOGIN -p $PYPI_PASS
144
+ script : twine upload $GOPATH/bin /*py3-none-any* -u $PYPI_LOGIN -p $PYPI_PASS
143
145
skip_cleanup : true
144
146
on :
145
147
tags : true
Original file line number Diff line number Diff line change 7
7
<a href="http://godoc.org/gopkg.in/src-d/hercules.v10"><img src="https://godoc.org/gopkg.in/src-d/hercules.v10?status.svg" alt="GoDoc"></a>
8
8
<a href="https://travis-ci.com/src-d/hercules"><img src="https://travis-ci.com/src-d/hercules.svg?branch=master" alt="Travis build Status"></a>
9
9
<a href="https://ci.appveyor.com/project/vmarkovtsev/hercules"><img src="https://ci.appveyor.com/api/projects/status/49f0lm3v2y6xyph3?svg=true" alt="AppVeyor build status"></a>
10
+ <a href="https://pypi.python.org/pypi/labours"><img src="https://img.shields.io/pypi/v/labours.svg" alt="PyPi package status"></a>
10
11
<a href="https://hub.docker.com/r/srcd/hercules"><img src="https://img.shields.io/docker/build/srcd/hercules.svg" alt="Docker build status"></a>
11
12
<a href="https://codecov.io/gh/src-d/hercules"><img src="https://codecov.io/github/src-d/hercules/coverage.svg" alt="Code coverage"></a>
12
13
<a href="https://goreportcard.com/report/github.com/src-d/hercules"><img src="https://goreportcard.com/badge/github.com/src-d/hercules" alt="Go Report Card"></a>
You can’t perform that action at this time.
0 commit comments