changeset 394:b3e63c620448

ci: use a separate build directory * bitbucket-pipelines.yml: Move Python 2 configure/build/test to a separate directory.
author Mike Miller <mtmiller@octave.org>
date Fri, 07 Apr 2017 10:37:56 -0700
parents 0a5b6097f4e4
children aa76e98a1a3e
files bitbucket-pipelines.yml
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bitbucket-pipelines.yml	Thu Apr 06 14:13:54 2017 -0700
+++ b/bitbucket-pipelines.yml	Fri Apr 07 10:37:56 2017 -0700
@@ -6,6 +6,7 @@
         script:
           - apt-get update && apt-get install -y libboost-python-dev python-numpy
           - autoreconf -i
-          - ./configure PYTHON_VERSION=2
-          - make
-          - make check
+          - mkdir -p py2
+          - ( cd py2 && ../configure PYTHON_VERSION=2 )
+          - make -C py2 all
+          - make -C py2 check