Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (49 sloc) 1.35 KB
language: python
sudo: false
branches:
only:
- master
python:
- 3.5
- 3.6
env:
- PYSAL_PYPI=true #testing on dependencies libpysal on pypi
- PYSAL_PYPI=false
matrix:
allow_failures:
- python: 3.5
env: PYSAL_PYPI=false
- python: 3.6
env: PYSAL_PYPI=false
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
install:
- conda install --yes pip
- pip install -r requirements.txt
- pip install -r requirements_tests.txt
- if "$PYSAL_PYPI"; then
echo 'testing pypi libpysal' && pip install libpysal;
else
echo 'testing git libpysal';
git clone https://github.com/pysal/libpysal.git; cd libpysal; pip install .; cd ../;
fi;
script:
- python setup.py sdist >/dev/null
- python setup.py install
- nosetests --verbose --with-coverage --cover-package=esda;
notifications:
email:
recipients:
- levi.john.wolf+travis@gmail.com
- sjsrey+travis@gmail.com
- weikang9009@gmail.com
on_success: change
on_failure: change
after_success:
- coveralls
You can’t perform that action at this time.