Skip to content

Commit

Permalink
Merge pull request #1 from sjsrey/ripley-numpy
Browse files Browse the repository at this point in the history
Ripley numpy
  • Loading branch information
ljwolf committed Jul 4, 2020
2 parents 1928d58 + 89ee205 commit 4f4f4d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ branches:
python:
- 3.6
- 3.7
- 3.8

env:
- PYSAL_PYPI=true MPLBACKEND='pdf'
Expand All @@ -16,11 +17,11 @@ matrix:
allow_failures: #allow travis tests to fail if using the github version of libpysal
- python: 3.6
env: PYSAL_PYPI=false MPLBACKEND='pdf'
- python: 3.7
env: PYSAL_PYPI=false MPLBACKEND='pdf'
- python: 3.6
env: PYSAL_PYPI=true MPLBACKEND='pdf'

before_install:
- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p ./miniconda
- export PATH=`pwd`/miniconda/bin:$PATH
Expand All @@ -46,7 +47,8 @@ install:
script:
- python setup.py sdist >/dev/null
- python setup.py install
- nosetests --verbose --with-coverage --cover-package=pointpats;
# - nosetests --verbose --with-coverage --cover-package=pointpats;
- pytest pointpats

notifications:
email:
Expand Down
6 changes: 1 addition & 5 deletions pointpats/tests/test_spacetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ def setUp(self):
def test_jacquez(self):
result = jacquez(self.events.space,
self.events.t, k=3, permutations=1)
if scp_version > 11:
self.assertEquals(result['stat'], 12)
else:
self.assertEquals(result['stat'], 13)

self.assertEquals(result['stat'], 12)


class ModifiedKnox_Tester(unittest.TestCase):
Expand Down

0 comments on commit 4f4f4d6

Please sign in to comment.