Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating .travis.yml #335

Merged
merged 2 commits into from
Nov 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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