/
.travis.yml
36 lines (36 loc) · 928 Bytes
/
.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
language: python
python:
- "2.6"
- "2.7"
- "3.3"
# - "pypy"
env:
- DJANGO_VERSION=1.4.3
- DJANGO_VERSION=1.5c1
before_install:
- export PIP_USE_MIRRORS=true
- export PIP_INDEX_URL=https://simple.crate.io/
- export PIP_FIND_LINKS=http://pypi.renie.fr/Django/
- export DJANGO_SETTINGS_MODULE=floppyforms.test_settings
- sudo apt-get update
- sudo apt-get install binutils gdal-bin libproj-dev libgeos-c1
install:
- pip install -e .
- pip install -r requirements/tests.txt Django==$DJANGO_VERSION
before_script:
- (python --version 2>&1 | grep -q "Python 2" && flake8 floppyforms --ignore=E5,E123,E125,E126) || echo "Skipped flake8 check (python 3)"
script:
- make test
branches:
only:
- master
notifications:
irc:
channels:
- "irc.freenode.org#django-floppyforms"
on_success: change
on_failure: always
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.4.3