2017-12-15 03:35:07 +00:00
|
|
|
#!/bin/sh
|
2017-12-15 10:56:05 +00:00
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
# FIXME: remove once python 2 support is deprecated
|
|
|
|
python2 ./setup.py install
|
|
|
|
python2 tests/test_py2.py
|
2017-12-18 09:58:12 +00:00
|
|
|
python2 -m compileall osmopy
|
2017-12-15 10:56:05 +00:00
|
|
|
|
2017-12-15 03:35:07 +00:00
|
|
|
rm -rf ./build
|
|
|
|
python3 ./setup.py install
|
2017-12-15 10:56:05 +00:00
|
|
|
python3 tests/test_py3.py
|
2017-12-18 09:58:12 +00:00
|
|
|
python3 -m compileall osmopy
|
2017-12-15 10:56:05 +00:00
|
|
|
|
|
|
|
# TODO: add more tests
|