forked from pysal/pysal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (47 loc) · 1.48 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
language: python
sudo: false
branches:
only:
- master
python:
- 2.7
#- "2.6"
# - 3.4
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:
- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
- conda create -y -q -n test-env python=$TRAVIS_PYTHON_VERSION
- source activate test-env
install:
- conda install --yes numpy scipy nose pip
- pip install -r travis.txt
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'
#- 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
- echo "check_stable=False" >pysal/config.py
- nosetests --with-coverage --cover-package=pysal
#- cd doc; make pickle; make doctest
notifications:
email:
recipients:
on_success: always
on_failure: always
after_success:
- coveralls