view bitbucket-pipelines.yml @ 421:24555fba9964

Include <Python.h> first to suppress possible redefinition warnings * oct-py-eval.cc, oct-py-types.cc, oct-py-util.cc, pycall.cc, pyeval.cc, pyexec.cc: Include <Python.h> before other system and project header files to suppress possible macro redefinition warnings. Normalize and reduce use of Octave header files.
author Mike Miller <mtmiller@octave.org>
date Thu, 04 May 2017 13:22:20 -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