forked from pysal/pysal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (40 loc) · 1.23 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
language: python
dist: xenial
sudo: true
sudo: false
matrix:
fast_finish: true
include:
- env: ENV_FILE="ci/travis/36-latest-conda-forge.yaml"
- env: ENV_FILE="ci/travis/37-latest-conda-forge.yaml"
install:
# Install conda
- |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
conda update --quiet conda
conda config --add channels conda-forge --force
conda config --set channel_priority strict
conda config --set safety_checks disabled
# Install dependencies
- conda env create --file="${ENV_FILE}"
- source activate test
- conda list
- conda info --all
script:
- python setup.py sdist >/dev/null
- echo "check_stable=False" >pysal/config.py
- python setup.py install
- nosetests --with-doctest --verbose --with-coverage --cover-package=pysal
#- cd doc; make pickle; make doctest
notifications:
email:
recipients:
on_success: change
on_failure: always
after_success:
- coveralls