osmo-python-tests/contrib/jenkins.sh

16 lines
276 B
Bash
Executable File

#!/bin/sh
set -ex
# FIXME: remove once python 2 support is deprecated
python2 ./setup.py install
python2 tests/test_py2.py
python2 -m compileall osmopy
rm -rf ./build
python3 ./setup.py install
python3 tests/test_py3.py
python3 -m compileall osmopy
# TODO: add more tests