# HG changeset patch # User Mike Miller # Date 1491587265 25200 # Node ID aa76e98a1a3e5b1b94914545fa2eee5c3d3fd1f6 # Parent b3e63c620448fb0b74ae5d43fec5aaaa6028e253 ci: build against both Python 2 and 3 * bitbucket-pipelines.yml: Build and test against both Python 2 and 3. diff -r b3e63c620448 -r aa76e98a1a3e bitbucket-pipelines.yml --- a/bitbucket-pipelines.yml Fri Apr 07 10:37:56 2017 -0700 +++ b/bitbucket-pipelines.yml Fri Apr 07 10:47:45 2017 -0700 @@ -4,9 +4,13 @@ default: - step: script: - - apt-get update && apt-get install -y libboost-python-dev python-numpy + - apt-get update + - apt-get install -y libboost-python-dev python-numpy python3-numpy - autoreconf -i - - mkdir -p py2 + - mkdir -p py2 py3 - ( cd py2 && ../configure PYTHON_VERSION=2 ) - make -C py2 all - make -C py2 check + - ( cd py3 && ../configure PYTHON_VERSION=3 ) + - make -C py3 all + - make -C py3 check