-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f19b87a
Showing
30 changed files
with
8,548 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.gitattributes export-ignore | ||
.gitignore export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
__pycache__/ | ||
*.py[cod] | ||
.mypy_cache/ | ||
.cache/ | ||
.eggs/ | ||
cfei_smap.egg-info | ||
|
||
build/ | ||
dist/ | ||
MANIFEST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
stages: | ||
- build | ||
- test | ||
- deploy | ||
- documentation | ||
|
||
test: | ||
stage: test | ||
script: | ||
- env PYTHONPATH=. pytest-3 -v . | ||
|
||
|
||
style check: | ||
stage: test | ||
script: | ||
- pycodestyle | ||
allow_failure: true | ||
|
||
|
||
type check: | ||
stage: test | ||
script: | ||
- mypy --package ${CI_PROJECT_NAME//-/.} | ||
allow_failure: true | ||
|
||
|
||
create deb package: | ||
stage: deploy | ||
only: | ||
- tags | ||
script: | ||
- python3 setup.py --command-packages=stdeb.command sdist_dsc --with-python2=False --with-python3=True bdist_deb | ||
artifacts: | ||
paths: | ||
- deb_dist/python3-${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME:1}-1_all.deb | ||
|
||
|
||
create wheel package: | ||
stage: deploy | ||
only: | ||
- tags | ||
script: | ||
- pip3 wheel . | ||
artifacts: | ||
paths: | ||
- '${CI_PROJECT_NAME//-/_}-${CI_COMMIT_REF_NAME:1}-py3-none-any.whl' | ||
|
||
|
||
create tarball: | ||
stage: deploy | ||
only: | ||
- tags | ||
script: | ||
- git archive --format=tar.gz ${CI_COMMIT_REF_NAME} --prefix=${CI_PROJECT_NAME}-${CI_COMMIT_REF_NAME:1}/ --output ${CI_PROJECT_NAME}-${CI_COMMIT_REF_NAME:1}.tar.gz | ||
artifacts: | ||
paths: | ||
- ${CI_PROJECT_NAME}-${CI_COMMIT_REF_NAME:1}.tar.gz | ||
|
||
|
||
create html documentation: | ||
stage: documentation | ||
only: | ||
- tags | ||
script: | ||
- cd docs | ||
- make html | ||
artifacts: | ||
paths: | ||
- docs/build/html/ | ||
|
||
|
||
create man pages: | ||
stage: documentation | ||
only: | ||
- tags | ||
script: | ||
- cd docs | ||
- make man | ||
artifacts: | ||
paths: | ||
- docs/build/man/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include *.txt *.md | ||
recursive-include cfei *.json |
Oops, something went wrong.