/
.travis.yml
executable file
·42 lines (38 loc) · 1.04 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
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 config --add channels conda-forge
- conda create -y -q -n test-env python=$TRAVIS_PYTHON_VERSION
- source activate test-env
install:
- conda install --yes pip
- pip install -r requirements.txt
- cd ../ && git clone https://github.com/pysal/libpysal.git
- pip install -e ./libpysal
- cd ./pointpats
- pip install -r requirements_dev.txt
script:
- python setup.py sdist >/dev/null
- nosetests --with-coverage --cover-package=pointpats;
notifications:
email:
recipients:
- sjsrey@gmail.com
- levi.john.wolf@gmail.com
- weikang9009@gmail.com
- shaohutiger@gmail.com
on_change: always
on_failure: always
after_success:
- coveralls