Skip to content

Commit

Permalink
Merge branch 'travis'
Browse files Browse the repository at this point in the history
  • Loading branch information
weikang9009 committed May 31, 2019
2 parents 8b6b12d + ef29d0c commit f12c985
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ python:
- 3.6
- 3.7

env:
- PYSAL_PYPI=true #testing on dependencies libpysal, esda, mapcalssify, giddy and spreg on pypi
- PYSAL_PYPI=false


before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
Expand All @@ -25,6 +30,16 @@ install:
- conda list
- conda info -a
- pip install -r requirements.txt
- if "$PYSAL_PYPI"; then
echo 'testing pypi libpysal esda mapclassify giddy spreg';
else
echo 'testing git libpysal esda mapclassify giddy spreg';
git clone https://github.com/pysal/libpysal.git; cd libpysal; pip install .; cd ../;
git clone https://github.com/pysal/mapclassify.git; cd mapclassify; pip install .; cd ../;
git clone https://github.com/pysal/esda.git; cd esda; pip install .; cd ../;
git clone https://github.com/pysal/giddy.git; cd giddy; pip install .; cd ../;
git clone https://github.com/pysal/spreg.git; cd spreg; pip install .; cd ../;
fi;
- pip install nose coverage coveralls
# Now install splot (don't use 'pip install .', we'll run out of space)
- python setup.py sdist
Expand All @@ -35,7 +50,7 @@ install:


script:
- nosetests splot --with-doctest --with-coverage --cover-package=splot;
- nosetests --verbose --with-doctest --with-coverage --cover-package=splot;
# - cd notebooks
# - make test

Expand Down

0 comments on commit f12c985

Please sign in to comment.