forked from pysal/pysal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (42 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
46
language: python
branches:
only:
- master
python:
- "2.7"
#- "2.6"
#
env:
- SCIPY_VERSION="deb http://us.archive.ubuntu.com/ubuntu/ precise main universe"
- SCIPY_VERSION="deb http://us.archive.ubuntu.com/ubuntu/ trusty main universe"
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libgeos-3.2.2 libgeos-dev python-numpy python-scipy
- sudo apt-add-repository "$SCIPY_VERSION"
- sudo apt-get update -qq
- sudo apt-get --only-upgrade install -qq python-numpy python-scipy
install:
- pip install -q -r travis.txt
#- sudo pip install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download
#- pip install coveralls
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
script:
- python -c 'import numpy; print numpy.__version__'
- python -c 'import scipy; print scipy.__version__'
- python setup.py install >/dev/null
- python -c 'import pysal; print pysal.version'
#- python -c 'import multiprocessing as mp; print mp.cpu_count()'
#- pychecker --limit 1000 pysal
- python setup.py sdist >/dev/null
#- nosetests --processes=-1 --process-timeout=60 --verbosity=1 --ignore-files=collection --exclude-dir=pysal/contrib
- nosetests
- cd doc; make pickle; make doctest
notifications:
email:
recipients:
on_success: always
on_failure: always