Skip to content

Commit

Permalink
Merge pull request #335 from jGaboardi/update_travis
Browse files Browse the repository at this point in the history
Updating .travis.yml
  • Loading branch information
jGaboardi committed Nov 27, 2019
2 parents 980e666 + d2b812f commit b9efc62
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ language: minimal
sudo: false

matrix:
fast_finish: true
include:
- name: "python-3.6-pypi"
env: PY=3.6 PYSAL_PYPI=true PYSAL_PLUS=false
Expand Down Expand Up @@ -58,24 +57,28 @@ before_install:
install:
- pip install -e . --no-deps --force-reinstall
- if "$PYSAL_PYPI"; then
echo 'testing conda libpysal' && conda install --yes libpysal;
- if [ "$PYSAL_PYPI" == true ]; then
echo 'testing conda libpysal';
conda install --yes libpysal;
else echo 'testing git libpysal';
git clone https://github.com/pysal/libpysal.git;
cd libpysal; pip install .; cd ../;
cd libpysal;
pip install .;
cd ../;
fi;
- if [ "$PYSAL_PLUS" == true ]; then
echo 'plus testing'; conda install --yes --file requirements_plus.txt;
echo 'plus testing';
conda install --yes --file requirements_plus.txt;
fi;

script:
- if [[ $TRAVIS_JOB_NAME == python-* ]]; then
travis_wait 45 nosetests --verbose --with-coverage --with-doctest --cover-package=spaghetti ;
travis_wait 45 nosetests --verbose --with-coverage --with-doctest --cover-package=spaghetti;
fi

- if [[ $TRAVIS_JOB_NAME == tarball* ]]; then
pip wheel . -w dist --no-deps ;
twine check dist/* ;
pip wheel . -w dist --no-deps;
twine check dist/*;
fi

notifications:
Expand Down

0 comments on commit b9efc62

Please sign in to comment.