view bitbucket-pipelines.yml @ 423:6b9de18b4bdd

Eliminate remaining custom exception handling in favor of Octave errors * oct-py-error.cc, oct-py-error.h (pytave::error_python_exception): New function to generate an Octave error from an active Python error condition, based on pytave::fetch_exception_message. * oct-py-eval.cc (pytave::py_call_function, pytave::py_run_string_safe): Use it. * oct-py-types.cc (pytave::make_py_dict): Likewise. * oct-py-util.cc (pytave::py_objstore): Likewise. * pycall.cc (Fpycall): Remove exception handling logic. * pyeval.cc (Fpyeval): Likewise. * pyexec.cc (Fpyexec): Likewise. * exceptions.cc, exceptions.h: Delete. * Makefile.am (COMMON_SOURCE_FILES, PYTAVE_HEADER_FILES): Remove them.
author Mike Miller <mtmiller@octave.org>
date Thu, 04 May 2017 21:15:07 -0700
parents aeed116cf9f9
children
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 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