comparison bitbucket-pipelines.yml @ 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
comparison
equal deleted inserted replaced
394:b3e63c620448 395:aa76e98a1a3e
2 2
3 pipelines: 3 pipelines:
4 default: 4 default:
5 - step: 5 - step:
6 script: 6 script:
7 - apt-get update && apt-get install -y libboost-python-dev python-numpy 7 - apt-get update
8 - apt-get install -y libboost-python-dev python-numpy python3-numpy
8 - autoreconf -i 9 - autoreconf -i
9 - mkdir -p py2 10 - mkdir -p py2 py3
10 - ( cd py2 && ../configure PYTHON_VERSION=2 ) 11 - ( cd py2 && ../configure PYTHON_VERSION=2 )
11 - make -C py2 all 12 - make -C py2 all
12 - make -C py2 check 13 - make -C py2 check
14 - ( cd py3 && ../configure PYTHON_VERSION=3 )
15 - make -C py3 all
16 - make -C py3 check