forked from cenpy-devs/cenpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·34 lines (31 loc) · 942 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
language: python
sudo: false
branches:
only:
- master
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 numpy scipy pandas six pip requests nose
- source activate test-env
- pip install geopandas pysal
- python -c 'import requests; print(requests.__version__)'
- python -c 'import pandas; print(pandas.__version__)'
install:
- python setup.py install
script:
- python -c 'import cenpy; print(cenpy._version)'
- python setup.py sdist > /dev/null
- nosetests cenpy/
notifications:
email:
recipients:
- levi.john.wolf@gmail.com
on_success: change
on_faliure: always