Skip to content
Snippets Groups Projects
Commit b7ce980d authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

v0.6.2

parent 00b0956c
No related branches found
No related tags found
No related merge requests found
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
# coding: utf-8
[metadata]
name = tempsdb
version = 0.6.2a4
version = 0.6.2
long-description = file: README.md
long-description-content-type = text/markdown; charset=UTF-8
license_files = LICENSE
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment