forked from pysal/spvcm
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
37 lines (32 loc) · 987 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
37
language: python
sudo: false
branches:
- master
- dev
python:
- 3.5
- 3.6
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p ./miniconda
- export PATH=`pwd`/miniconda/bin:$PATH
- conda update --yes conda
- conda create -y -q -n test-env python=$TRAVIS_PYTHON_VERSION
- source activate test-env
- conda install -y numpy scipy pandas six pip
- conda install -y nose seaborn dill statsmodels geopandas
- conda install -y -c r r-essentials r-coda
- conda install -y rpy2
- pip install pysal
install:
- python setup.py install
script:
- python -c 'import spvcm; print(spvcm.diagnostics._HAS_CODA, spvcm.diagnostics._HAS_RPY2)'
- travis_wait 45 nosetests spvcm
notifications:
email:
recipients:
on_success: change
on_failure: always