Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tempsdb
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
tempsdb
Commits
b7ce980d
Commit
b7ce980d
authored
4 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
v0.6.2
parent
00b0956c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+23
-0
23 additions, 0 deletions
.travis.yml
setup.cfg
+1
-1
1 addition, 1 deletion
setup.cfg
tests/test_database.py
+3
-0
3 additions, 0 deletions
tests/test_database.py
with
27 additions
and
1 deletion
.travis.yml
+
23
−
0
View file @
b7ce980d
language
:
python
stages
:
-
name
:
test
-
name
:
deploy
if
:
tag is present
cache
:
pip
before_script
:
-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
...
...
@@ -32,6 +35,26 @@ jobs:
after_script
:
-
coverage xml
-
./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
-
stage
:
deploy
python
:
"
3.8"
before_script
:
-
pip install wheel twine doctor-wheel auditwheel snakehouse satella
script
:
-
python setup.py bdist_wheel sdist
-
cd dist
-
doctor-wheel *.whl
-
auditwheel repair --plat manylinux2014_x86_64 *.whl
-
twine upload -u $PYPI_USER -p $PYPI_PWD wheelhouse/*.whl *.gz
-
stage
:
deploy
python
:
"
3.9"
before_script
:
-
pip install wheel twine doctor-wheel auditwheel snakehouse satella
script
:
-
python setup.py bdist_wheel
-
cd dist
-
doctor-wheel *.whl
-
auditwheel repair --plat manylinux2014_x86_64 *.whl
-
twine upload -u $PYPI_USER -p $PYPI_PWD wheelhouse/*.whl
This diff is collapsed.
Click to expand it.
setup.cfg
+
1
−
1
View file @
b7ce980d
# coding:
utf-8
[metadata]
name
= tempsdb
version
= 0.6.2
a4
version
= 0.6.2
long-description
= file: README.md
long-description-content-type
= text/markdown; charset=UTF-8
license_files
= LICENSE
...
...
This diff is collapsed.
Click to expand it.
tests/test_database.py
+
3
−
0
View file @
b7ce980d
...
...
@@ -9,6 +9,9 @@ class TestDatabase(unittest.TestCase):
def
setUpClass
(
cls
)
->
None
:
cls
.
db
=
create_database
(
'
my_db
'
)
def
test_checkpoint
(
self
):
self
.
db
.
checkpoint
()
def
test_metadata
(
self
):
meta
=
self
.
db
.
metadata
self
.
assertFalse
(
self
.
db
.
metadata
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment