sqlite-utils/.travis.yml

37 lines
783 B
YAML
Raw Permalink Normal View History

2018-07-28 06:48:53 -07:00
language: python
2019-01-24 22:44:24 -08:00
dist: xenial
2018-07-28 06:48:53 -07:00
# 3.6 is listed first so it gets used for the later build stages
python:
- "3.6"
- "3.7-dev"
- "3.8-dev"
2018-07-28 06:48:53 -07:00
script:
- sudo add-apt-repository ppa:jonathonf/backports -y
- sudo apt-get update && sudo apt-get install sqlite3
2018-07-28 06:48:53 -07:00
- pip install -U pip wheel
- pip install .[test]
- pytest
cache:
directories:
- $HOME/.cache/pip
2018-07-28 17:42:41 -07:00
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: bdist_wheel
password: ${PYPI_PASSWORD}
on:
branch: master
tags: true
repo: simonw/sqlite-utils