diff options
author | Simon Warta <[email protected]> | 2015-10-21 16:22:13 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-10-22 17:21:39 +0200 |
commit | ed43ebe07cdec32a8c45748ae3b0ce8e4eb055ce (patch) | |
tree | c08e12ece465072f21184934ab36d87a75549c26 /src/scripts/ci/travis | |
parent | 69a5a56b38a309241126641149471a36137507a0 (diff) |
Test botan.py using Python2 and Python3 on Linux and OS X
Diffstat (limited to 'src/scripts/ci/travis')
-rwxr-xr-x | src/scripts/ci/travis/build.sh | 8 | ||||
-rwxr-xr-x | src/scripts/ci/travis/install_osx_packages.sh | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/scripts/ci/travis/build.sh b/src/scripts/ci/travis/build.sh index 369450091..bb52f0648 100755 --- a/src/scripts/ci/travis/build.sh +++ b/src/scripts/ci/travis/build.sh @@ -60,4 +60,12 @@ if [ "$MODULES" != "min" ] && [ "${TARGETOS:0:3}" != "ios" ]; then ./botan-test fi +if [ "$MODULES" != "min" ] && [ "$BUILD_MODE" = "shared" ] && [ "$TARGETOS" = "desktop" ] +then + python2 --version + python3 --version + LD_LIBRARY_PATH=. python2 src/python/botan.py + LD_LIBRARY_PATH=. python3 src/python/botan.py +fi + make install diff --git a/src/scripts/ci/travis/install_osx_packages.sh b/src/scripts/ci/travis/install_osx_packages.sh index 1d4a5e001..588855cc0 100755 --- a/src/scripts/ci/travis/install_osx_packages.sh +++ b/src/scripts/ci/travis/install_osx_packages.sh @@ -6,3 +6,5 @@ which shellcheck > /dev/null && shellcheck "$0" # Run shellcheck on this if avai brew update || brew update brew install xz +brew install python # python2 +brew install python3 |