40 lines
929 B
YAML
40 lines
929 B
YAML
sudo: false
|
|
language: python
|
|
python:
|
|
- 3.6
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libmysqlclient-dev
|
|
cache:
|
|
directories:
|
|
- "$HOME/.cache/pip"
|
|
env:
|
|
global:
|
|
- PYTHONWARNINGS=default,ignore::PendingDeprecationWarning,ignore::ResourceWarning
|
|
- DJANGO_DATABASE_USER_POSTGRES=postgres
|
|
- DJANGO_DATABASE_USER_MYSQL=travis
|
|
matrix:
|
|
fast_finish: true
|
|
services:
|
|
- postgresql
|
|
- mysql
|
|
install:
|
|
- pyenv shell 2.7 3.5 3.6
|
|
- pip install 'tox>=2.3.1'
|
|
before_script:
|
|
- mysql -e 'create database test_project'
|
|
- psql -c 'create database test_project;' -U postgres;
|
|
script: tox
|
|
deploy:
|
|
provider: pypi
|
|
user: etianen
|
|
password:
|
|
secure: XW4/9HiChbPJSJe4d/MRcO+ViPGhW1iQ8kVi814KJh7mCxOAKijpW5hfdc9oSKB6d8iYB3OzZ7naIUU9GMce40bpeTgPDLVBLCSYKRNLuVoJdh+Q6ItGUiFf8kAJz5jgopG80QnCpLA9JvYxKVJ4amfYWWm204eQmIEnRRAd+Jk=
|
|
on:
|
|
tags: true
|
|
distributions: sdist bdist_wheel
|
|
repo: etianen/django-reversion
|
|
notifications:
|
|
email: false
|