forked from jeancochrane/pytest-flask-sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (30 loc) · 1.26 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
branches:
only:
- master
- "/^v.*$/"
language: python
python:
- '3.6'
env:
global:
- TEST_DATABASE_URL=postgresql://postgres@localhost:5432/pytest_test
matrix:
include:
- env: SA_VERSION=1.3.*
- env: SA_VERSION=1.2.*
addons:
postgresql: '9.6'
install:
- pip install --upgrade pip
- pip install -e .[tests]
- if ![ -z "$SA_VERSION" ]; then pip install --upgrade sqlalchemy=="${SA_VERSION}"; fi
script: pytest
deploy:
provider: pypi
distributions: 'sdist bdist_wheel'
skip_existing: true
user: jeancochrane
password:
secure: d9H2Arvdy8CSH/TgWepHjhrLEQnD87BQ6BeSh7NRXPWcQb34KqKE4kkgos3r1RdQNurMVFRwEElfaLrQUhHInvSRQxPpjfX8ObjbndSbNWIGEODc0VieE0WQOApKezd38HNj3XrGXtuzUta/IKN+UOIZYka4LouT7uzH9/cz00+HIfRZg6N65ngataWfxJhempfXdh7iqTtUTu7Cn0O/ow4ey/654g9F+ElpvowVaq//2w1f5fLQIeWnsFs5X1cAxQ3XV0M4xU9dDvUEXtFXUSIjQAmzd4ovGS6Ri1/9okONeCb8A2FPjOKin8mvqNRtIKZJxoXSli3HlvrJozyoJjD+mVFUUYae81lXN08RsI005Ngqyc5hm1ibiX80Uiul4lLBqiBWQoRsKpaMBfFqkMzCcLKxaZAWJoUEuqlXcufQbWcOXrlmDbSOFn9gHxLxwISWUwm9M5/9bABjc5B8tPJqy3U4/q7plV6HDgXkBllm2bqYUIl8L+kff+LIV3wY1Txq8Mg4ZtQu1mwoB0ysQyinQBRu8CEvRo2qkepClio5Up3Fim43oSQnBOg6B3GFkNl1ikCM0dYqGW+d7bLqKuCeqWPgko+JYnVOTSbq+RULGp9tAFqIvRMN+Ih2Xlk4zy4bh8eVrESE+V0nv5oYCJW3loDDKlQzd+QTmQlLasM=
on:
tags: true