mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 20:34:12 +02:00
CI is now GitHub Actions, closes #143
This commit is contained in:
parent
d7d3f96286
commit
01c7784be5
4 changed files with 5 additions and 47 deletions
42
.travis.yml
42
.travis.yml
|
|
@ -1,42 +0,0 @@
|
||||||
language: python
|
|
||||||
dist: bionic
|
|
||||||
|
|
||||||
# 3.6 is listed first so it gets used for the later build stages
|
|
||||||
python:
|
|
||||||
- "3.6"
|
|
||||||
- "3.7"
|
|
||||||
- "3.8"
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
# SpatiaLite needed for the --load-extension test:
|
|
||||||
- sudo apt-get update
|
|
||||||
- sudo apt-get -y install libsqlite3-mod-spatialite
|
|
||||||
|
|
||||||
script:
|
|
||||||
- pip install -U pip wheel
|
|
||||||
- pip install .[test]
|
|
||||||
# Only run the numpy/pandas tests on Python 3.7:
|
|
||||||
- python -c "import sys; print(sys.version_info.minor == 7)" | grep True > /dev/null && pip install pandas || true
|
|
||||||
- pytest
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/.cache/pip
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
include:
|
|
||||||
- stage: release tagged version
|
|
||||||
if: tag IS present
|
|
||||||
language: python
|
|
||||||
python: 3.6
|
|
||||||
script:
|
|
||||||
- pip install -U pip wheel
|
|
||||||
deploy:
|
|
||||||
- provider: pypi
|
|
||||||
user: simonw
|
|
||||||
distributions: sdist bdist_wheel
|
|
||||||
password: ${PYPI_PASSWORD}
|
|
||||||
on:
|
|
||||||
branch: main
|
|
||||||
tags: true
|
|
||||||
repo: simonw/sqlite-utils
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[](https://pypi.org/project/sqlite-utils/)
|
[](https://pypi.org/project/sqlite-utils/)
|
||||||
[](https://sqlite-utils.readthedocs.io/en/stable/changelog.html)
|
[](https://sqlite-utils.readthedocs.io/en/stable/changelog.html)
|
||||||
[](https://travis-ci.com/simonw/sqlite-utils)
|
[](https://github.com/simonw/sqlite-utils/actions?query=workflow%3ATest)
|
||||||
[](http://sqlite-utils.readthedocs.io/en/latest/?badge=latest)
|
[](http://sqlite-utils.readthedocs.io/en/latest/?badge=latest)
|
||||||
[](https://github.com/simonw/sqlite-utils/blob/main/LICENSE)
|
[](https://github.com/simonw/sqlite-utils/blob/main/LICENSE)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@
|
||||||
sqlite-utils |version|
|
sqlite-utils |version|
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
|PyPI| |Changelog| |Travis CI| |License|
|
|PyPI| |Changelog| |CI| |License|
|
||||||
|
|
||||||
.. |PyPI| image:: https://img.shields.io/pypi/v/sqlite-utils.svg
|
.. |PyPI| image:: https://img.shields.io/pypi/v/sqlite-utils.svg
|
||||||
:target: https://pypi.org/project/sqlite-utils/
|
:target: https://pypi.org/project/sqlite-utils/
|
||||||
.. |Changelog| image:: https://img.shields.io/github/v/release/simonw/sqlite-utils?include_prereleases&label=changelog
|
.. |Changelog| image:: https://img.shields.io/github/v/release/simonw/sqlite-utils?include_prereleases&label=changelog
|
||||||
:target: https://sqlite-utils.readthedocs.io/en/stable/changelog.html
|
:target: https://sqlite-utils.readthedocs.io/en/stable/changelog.html
|
||||||
.. |Travis CI| image:: https://travis-ci.com/simonw/sqlite-utils.svg?branch=main
|
.. |CI| image:: https://github.com/simonw/sqlite-utils/workflows/Test/badge.svg
|
||||||
:target: https://travis-ci.com/simonw/sqlite-utils
|
:target: https://github.com/simonw/sqlite-utils/actions
|
||||||
.. |License| image:: https://img.shields.io/badge/license-Apache%202.0-blue.svg
|
.. |License| image:: https://img.shields.io/badge/license-Apache%202.0-blue.svg
|
||||||
:target: https://github.com/simonw/sqlite-utils/blob/main/LICENSE
|
:target: https://github.com/simonw/sqlite-utils/blob/main/LICENSE
|
||||||
|
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -39,7 +39,7 @@ setup(
|
||||||
"Changelog": "https://sqlite-utils.readthedocs.io/en/stable/changelog.html",
|
"Changelog": "https://sqlite-utils.readthedocs.io/en/stable/changelog.html",
|
||||||
"Source code": "https://github.com/simonw/sqlite-utils",
|
"Source code": "https://github.com/simonw/sqlite-utils",
|
||||||
"Issues": "https://github.com/simonw/sqlite-utils/issues",
|
"Issues": "https://github.com/simonw/sqlite-utils/issues",
|
||||||
"CI": "https://travis-ci.com/simonw/sqlite-utils",
|
"CI": "https://github.com/simonw/sqlite-utils/actions",
|
||||||
},
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue