view bitbucket-pipelines.yml @ 400:6c316b5f30f7

Convert empty 1-D or 2-D arrays to Python array.array (fixes issue #69) * oct-py-types.cc (pytave::make_py_array): Also convert arrays with zero columns or zero rows. * octave_to_python.cc (pytave::octvalue_to_pyobj): Convert numeric arrays with zero columns or zero rows with make_py_array. * @pyobject/pyobject.m: Add %!tests.
author Mike Miller <mtmiller@octave.org>
date Fri, 28 Apr 2017 10:34:18 -0700
parents a1fb6575f6dd
children 4f415a887ff8
line wrap: on
line source

image: mtmiller/octave-snapshot

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