Skip to content

Commit

Permalink
Test equality with stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
ayan-b committed Jul 2, 2020
1 parent c27efc7 commit 4a188e2
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 710 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,28 @@ notifications:
email: false

install:
- python setup.py build_ext --inplace
- pip3 install .
script:
- pip3 install pytest pytest-cov
- pytest --cov=gdist
- pip3 install nose2 nose2-cov
- nose2 --with-coverage

jobs:
include:
- name: "Python 3.8 on Xenial Linux"
language: python
python: 3.8
before_install: pip3 install codecov
before_install:
- pip3 install codecov
- sudo chmod +x linux_so.sh
- ./linux_so.sh
after_success: codecov
- name: "Python 3.7.4 on macOS"
os: osx
osx_image: xcode11.2
language: shell
before_install:
- chmod 755 macos_dylib.sh
- ./macos_dylib.sh
- name: "Python 3.8.0 on Windows"
os: windows
language: shell
Expand Down
224 changes: 0 additions & 224 deletions alternative_geodesic.py

This file was deleted.

2 changes: 1 addition & 1 deletion create_dll.bat
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ mkdir build\lib.win32

cd build\lib.win32

cl.exe /LD /DDLL_EXPORTS /DNDEBUG ..\..\gdist_c_api.cpp
cl.exe /LD /DDLL_EXPORTS ..\..\geodesic_library\gdist_c_api.cpp
ls
1 change: 1 addition & 0 deletions gdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def local_gdist_matrix(
triangles,
max_distance,
)
assert data.size % 3 == 0
sizes = data.size // 3
rows = data[:sizes]
columns = data[sizes: 2 * sizes]
Expand Down

0 comments on commit 4a188e2

Please sign in to comment.