forked from jazzband/django-floppyforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 873 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
language: python
python:
- "2.6"
- "2.7"
- "3.3"
# - "pypy"
env:
- DJANGO_VERSION=1.4.5
- DJANGO_VERSION=1.5.1
before_install:
- export PIP_USE_MIRRORS=true
- export PIP_INDEX_URL=https://simple.crate.io/
- 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.5