forked from jazzband/django-floppyforms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
71 lines (69 loc) · 1.82 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
language: python
python: 2.7
env:
- TOXENV=py26-14
- TOXENV=py26-15
- TOXENV=py26-16
- TOXENV=py27-14
- TOXENV=py27-15
- TOXENV=py27-16
- TOXENV=py27-17
- TOXENV=py27-18
- TOXENV=py27-19
# Disabling Python 3.2 tests for now as we have Problems with pip 8 on Travis
# - TOXENV=py32-15
# - TOXENV=py32-16
# - TOXENV=py32-17
# - TOXENV=py32-18
# - TOXENV=py32-18
- TOXENV=py33-15
- TOXENV=py33-16
- TOXENV=py33-17
- TOXENV=py33-18
- TOXENV=py34-15
- TOXENV=py34-16
- TOXENV=py34-17
- TOXENV=py34-18
- TOXENV=py34-19
- TOXENV=py35-18
- TOXENV=py35-19
- TOXENV=pypy-14
- TOXENV=pypy-15
- TOXENV=pypy-16
- TOXENV=pypy-17
- TOXENV=pypy-18
- TOXENV=pypy-19
- TOXENV=docs
- TOXENV=flake8
before_install:
- sudo apt-get -q -y update
# The following three lines is a fix for travis CI, since it wouldn't be
# able to install the dependencies correctly.
# See: https://github.com/travis-ci/travis-ci/issues/2683
- sudo apt-get remove -q -y binutils gdal-bin libproj-dev libgeos-c1
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
# Required to install Pillow
- sudo apt-get -q -y install build-essential
# GIS requirements.
- sudo apt-get -q -y install binutils gdal-bin libproj-dev libgeos-c1
install:
# pip >= 8 dropped Python 3.2 support
- pip install "pip<8.0.0" wheel
- pip install tox
script:
- tox
notifications:
irc:
channels:
- "irc.freenode.org#django-floppyforms"
on_success: change
on_failure: always
deploy:
provider: pypi
user: gremu
password:
secure: HAgxb7ebUfIQSfcxtjKoXO3FCBiujCo4GU2lYO8IUPeSdurPG6e+uABzwg88d7Zt1Zuay2eleAJzqhvwU2bCOKr68wjkNw3yWRslvLAMK3vj2LPPoWYsgmLJ1YiOvPloCdD2sIVSmpLEiN5HLUteh5j6D2BUbw67a9S2TXx1J8c=
on:
tags: true
repo: gregmuellegger/django-floppyforms
condition: "$TOXENV = py35-18"