view 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
line wrap: on
line source

image: mtmiller/octave-snapshot

pipelines:
  default:
    - step:
        script:
          - apt-get update
          - apt-get install -y libboost-python-dev python-numpy python3-numpy
          - autoreconf -i
          - 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