sqlite-utils/.travis.yml

39 lines
795 B
YAML
Raw Permalink Normal View History

2018-07-28 06:48:53 -07:00
language: python
sudo: required
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"
2018-08-12 18:35:19 -07:00
before_install:
2018-08-12 18:32:27 -07:00
- sudo add-apt-repository -y ppa:jonathonf/backports
2018-08-12 18:35:19 -07:00
- sudo apt-get -y update
- sudo apt-get -y install sqlite3
script:
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