forked from danni/django-postgres-composite-types
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (38 loc) · 1.46 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
38
39
40
41
42
43
44
45
language: python
# Matrix of build options
python:
- '3.4'
- '3.5'
env:
global:
- DJANGO_SETTINGS_MODULE="tests.settings"
- TOX_ENV=
matrix:
- DJANGO='1.9'
- DJANGO='1.10'
matrix:
include:
- env: TOX_ENV=style
python: '3.5'
install:
- pip install --upgrade pip wheel tox
cache:
directories:
- $HOME/.cache/pip
- $HOME/virtualenv
script:
# Run tox using either a specific environment from TOX_ENV,
# or building one from the environment variables
- tox -e "${TOX_ENV:-py${TRAVIS_PYTHON_VERSION/./}-dj${DJANGO}}"
sudo: false
deploy:
provider: pypi
user: danni
password:
secure: ANTFo5AiYSeS+63+aMqxvtdPS0O5E8vNhFjpl4ZcDzdMFdb/08PRdh8QSMGb9/yVKe6tnoB5nYJ9MlsIAO4mNaodxAE4WyolCP9PMfwpELCGFLKpx2MluFgYGXogUmK8YR7RkjbMmqgd5J253wsnFLzVwVla2TLORMWe83kix1FKYslDVKKtCnY/OpYaSQC5xM/zgNqX9sDaVTkuYj/UPXgxzZ/pK9sIYKHYkLw5q5+14UgH9aqXulwthWFrIpPdwYobNNF5UVNsLuiRhngt0BFudx83h3IhEDFRAFhswZmpNOqQXpmWRYKurqS/KDBS81Cubd4Zz2Ic49cKKPzKv6Pm1zWnRJVsvwiSEk5H1JVGG6VqkTO4p0gUGUxZlvfE2KCX6IeKcEwMEeeTbZQZxNDfFIaBZllG4w7YgZWrzWieSe7ZG/aX58vYpRmQYkfzz6dexmxMnazMhGqQX9WtrcRgTffGgMjmzwdx+tCag4U83O5KkWJz+IPDcKifpbZ4rTOrHN3xsye12APbxxRdOALcX6b0hgOHLbO7wQuiZo9UnzQFKwWE4O/GI5yEO6yL7zDXq5tjElv9kXkYzdCyrxIX44gHp1o6TiVmZ0279VQQ/MWx/Grrh/1VP2IfOsy3b7pG4XKWy/5yU69SEb3R6L280BWVceTeonX0FpL4gOw=
server: https://pypi.python.org/pypi
on:
tags: true
all_branches: true
python: 3.5
condition: '"$TRAVIS_TAG" = "v$(python setup.py --version)"'