File tree 6 files changed +23
-19
lines changed
6 files changed +23
-19
lines changed Original file line number Diff line number Diff line change @@ -111,18 +111,15 @@ install:
111
111
script :
112
112
- bash ci/script.sh
113
113
114
- before_deploy :
115
- - python -m pip install -Uq twine urllib3[secure]
116
-
117
114
deploy :
118
-
115
+ skip_cleanup : true
119
116
# After you create the Github repo and add it to Travis, run the
120
117
# travis_pypi_setup.py script to finish PyPI deployment setup
121
118
122
119
# this is for pypi. Will fail if you haven't run
123
120
# "python -m twine register ... " to register with pypi
124
121
- provider : script
125
- script : find wheelhouse/ -type f -name '*.whl' -print |xargs -n1 python -m twine upload
122
+ script : ci/pypi_upload.sh
126
123
on :
127
124
tags : true
128
125
- provider : releases
Original file line number Diff line number Diff line change 2
2
History
3
3
=======
4
4
5
- 0.7.2 (2017-06-18)
5
+ 0.7.3 (2017-06-18)
6
6
------------------
7
7
8
8
* First release on PyPI.
Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ artifacts:
80
80
deploy :
81
81
# upload to pypi with twine.
82
82
- provider : script
83
- script : " %PYTHON_DIR%\\ python -m ci after_test"
83
+ script :
84
+ - " %PYTHON_DIR%\\ python -m ci after_test"
84
85
on :
85
86
appveyor_repo_tag : true
86
87
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -ex
3
+
4
+ python -m pip install -Uq twine urllib3[secure]
5
+ ls -la wheelhouse/
6
+ python -m twine upload wheelhouse/*
7
+
Original file line number Diff line number Diff line change @@ -39,13 +39,12 @@ test:
39
39
commands :
40
40
- $<RUN_ENV> $<PYTHON> setup.py test
41
41
42
- # after_test:
42
+ after_test :
43
+ # commands:
44
+ # - $<RUN_ENV> $<PYTHON> -m pip install --upgrade twine urllib3[secure]
45
+ # - $<RUN_ENV> $<PYTHON> -m twine upload wheelhouse/*
43
46
44
- # commands:
45
- # - $<RUN_ENV> codecov -X gcov --required --file ./tests/coverage.xml
46
- # - $<RUN_ENV> $<PYTHON> setup.py bdist_wheel
47
-
48
- # appveyor:
49
- # commands:
50
- # - $<RUN_ENV> $<PYTHON> setup.py bdist_wininst
51
- # - $<RUN_ENV> $<PYTHON> setup.py bdist_msi
47
+ appveyor :
48
+ commands :
49
+ - $<RUN_ENV> $<PYTHON> -m pip install --upgrade twine urllib3[secure]
50
+ - $<RUN_ENV> $<PYTHON> -m twine upload wheelhouse\*
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ replace = {new_version}
19
19
search = {current_version}
20
20
replace = {new_version}
21
21
22
+
22
23
[flake8]
23
24
exclude = docs
24
25
25
26
[aliases]
26
- test = pytest
27
+ test = pytest
27
28
28
29
[tool:pytest]
29
30
testpaths = tests
30
- addopts = --verbose
31
-
31
+ addopts = --verbose
You can’t perform that action at this time.
0 commit comments