Skip to content

Commit 5f042a5

Browse files
authored
Merge pull request #132 from moremoban/dev
release 0.0.9
2 parents 1703ca2 + c7ceff1 commit 5f042a5

31 files changed

+736
-100
lines changed

.moban.dt/local-README.rst.jj2

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ Notes
4747
================================================================================
4848

4949

50+
Release and publish from command line
51+
--------------------------------------------------------------------------------
52+
5053
In order to run, `python setup.py publish`, you will have setup `.pypirc` in
5154
your home folder as::
5255

@@ -60,5 +63,18 @@ your home folder as::
6063

6164

6265
And you need to configure `gease`.
66+
67+
Auto publishing via github action
68+
--------------------------------------------------------------------------------
69+
70+
71+
In order to configure github to publish your package, you will need to set up
72+
two secrets::
73+
74+
PYPI_USERNAME
75+
PYPI_PASSWORD
76+
77+
Once you have done that, a github release will trigger an auto publishing.
78+
6379
{% endblock %}
6480

.moban.dt/local-travis.yml.jj2

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ python:
66
- 2.7
77
{% endblock %}
88

9-
{% block extra_jobs %}
10-
allow_failures:
11-
- stage: test
12-
{% endblock %}
139

1410
{% block before_script %}
1511
before_script:

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ jobs:
4545
include:
4646
- *moban
4747
- *lint
48-
allow_failures:
49-
- stage: test
5048

5149
stage: test
5250

CHANGELOG.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
Change log
22
================================================================================
33

4+
0.0.9 - 13.10.2019
5+
--------------------------------------------------------------------------------
6+
7+
**Added**
8+
9+
#. pypi download stats are displayed in README
10+
#. Add mit license text
11+
#. `#126 <https://github.com/moremoban/pypi-mobans/issues/126>`_: support github
12+
auto pypi publishing action
13+
#. `#133 <https://github.com/moremoban/pypi-mobans/issues/133>`_: provide CI
14+
azure build yaml files
15+
16+
**Updated**
17+
18+
#. Test on python 3.8 instead of python 3.8-dev
19+
#. `#131 <https://github.com/moremoban/pypi-mobans/issues/131>`_: remove useless
20+
statements when a complex installation requirement is in place.
21+
#. `#128 <https://github.com/moremoban/pypi-mobans/issues/128>`_: Exclude tests
22+
in installation package
23+
#. Install mock only on python 2
24+
425
0.0.8 - 13.10.2019
526
--------------------------------------------------------------------------------
627

README.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ pypi-mobans
88
.. image:: https://codecov.io/github/moremoban/pypi-mobans/coverage.png
99
:target: https://codecov.io/github/moremoban/pypi-mobans
1010

11+
1112
.. image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg
1213
:target: https://gitter.im/chfw_moban/Lobby
1314

@@ -63,6 +64,9 @@ Notes
6364
================================================================================
6465

6566

67+
Release and publish from command line
68+
--------------------------------------------------------------------------------
69+
6670
In order to run, `python setup.py publish`, you will have setup `.pypirc` in
6771
your home folder as::
6872

@@ -76,3 +80,15 @@ your home folder as::
7680

7781

7882
And you need to configure `gease`.
83+
84+
Auto publishing via github action
85+
--------------------------------------------------------------------------------
86+
87+
88+
In order to configure github to publish your package, you will need to set up
89+
two secrets::
90+
91+
PYPI_USERNAME
92+
PYPI_PASSWORD
93+
94+
Once you have done that, a github release will trigger an auto publishing.

changelog.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
name: pypi-mobans
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: Added
6+
details:
7+
- "pypi download stats are displayed in README"
8+
- Add mit license text
9+
- "`#126`: support github auto pypi publishing action"
10+
- "`#133`: provide CI azure build yaml files"
11+
- action: Updated
12+
details:
13+
- Test on python 3.8 instead of python 3.8-dev
14+
- "`#131`: remove useless statements when a complex
15+
installation requirement is in place."
16+
- "`#128`: Exclude tests in installation package"
17+
- Install mock only on python 2
18+
date: 13.10.2019
19+
version: 0.0.9
420
- changes:
521
- action: Fixed
622
details:

mobanfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ configuration:
77
targets:
88
- .gitignore: gitignore.jj2
99
- .travis.yml: local-travis.yml.jj2
10-
- LICENSE: NEW_BSD_LICENSE.jj2
10+
- LICENSE: newbsd_license.jj2
1111
- README.rst: local-README.rst.jj2
1212
- output: CHANGELOG.rst
1313
configuration: changelog.yml

statics/azure/azure-pipelines.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Starter pipeline
2+
# Add steps that build, run tests, deploy, and more:
3+
# https://aka.ms/yaml
4+
jobs:
5+
- job: 'Windows'
6+
pool:
7+
vmImage: vs2017-win2016
8+
steps:
9+
- template: '.azure-pipelines-steps.yml'
10+
- job: 'MacOS'
11+
pool:
12+
vmImage: macOS-10.13
13+
steps:
14+
- template: '.azure-pipelines-steps-macos.yml'
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
steps:
2+
- task: UsePythonVersion@0
3+
displayName: 'Use Python 3.x'
4+
- script: |
5+
python -m pip install --upgrade pip setuptools wheel
6+
test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt
7+
pip install -r requirements.txt
8+
pip install -r tests/requirements.txt
9+
displayName: 'Setup dependencies'
10+
- script: |
11+
make
12+
displayName: 'Run tests'

statics/azure/pipelines-steps.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
steps:
2+
- task: UsePythonVersion@0
3+
displayName: 'Use Python 3.x'
4+
- script: |
5+
python -m pip install --upgrade pip setuptools wheel
6+
if exist rnd_requirements.txt pip install -r rnd_requirements.txt
7+
pip install -r requirements.txt
8+
pip install -r tests\requirements.txt
9+
displayName: 'Setup dependencies'
10+
- script: |
11+
test.bat
12+
displayName: 'Run tests'

0 commit comments

Comments
 (0)