changeset 395:aa76e98a1a3e

ci: build against both Python 2 and 3 * bitbucket-pipelines.yml: Build and test against both Python 2 and 3.
author Mike Miller <mtmiller@octave.org>
date Fri, 07 Apr 2017 10:47:45 -0700
parents b3e63c620448
children a1fb6575f6dd
files bitbucket-pipelines.yml
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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