Revision 7241bd017692069490642e1d5ca5a994580b2a4f authored by Joost van Griethuysen on 22 March 2018, 12:11:25 UTC, committed by Joost van Griethuysen on 26 March 2018, 15:35:00 UTC
Ensure all C extensions use similar signatures where possible (e.g. work with pointers for sizes, use strides extracted from the numpy array descriptions). This includes a bug fix in GLSZM calculation, where the newly created output array was not initialized with 0's.

Additionally, add extra tests for the angles array: ensure that the shape is (Na, 3) and move this testing functionality to a separate function (as the same function can then be reused by all C extensions for texture matrices.

Finally, factor out use of deprecated Numpy C API functions and add define to disable deprecated API.
1 parent ea9a6ce
Raw File
appveyor.yml
branches:
 only:
  - master

version: "0.0.1.{build}"

environment:
  matrix:

    # Visual Studio (Python 2 & 3, 64 bit)

    - PYTHON_DIR: "C:\\Python27-x64"
      PYTHON_VERSION: "2.7.x"
      PYTHON_ARCH: "64"
      BLOCK: "0"

    - PYTHON_DIR: "C:\\Python34-x64"
      PYTHON_VERSION: "3.4.x"
      PYTHON_ARCH: "64"
      BLOCK: "0"

    - PYTHON_DIR: "C:\\Python35-x64"
      PYTHON_VERSION: "3.5.x"
      PYTHON_ARCH: "64"
      BLOCK: "0"

init:
  - python -m pip install scikit-ci==0.13.0 scikit-ci-addons==0.11.0
  - python -m ci_addons --install ../addons

  - ps: ../addons/appveyor/rolling-build.ps1

install:
  - python -m ci install

build_script:
  - python -m ci build

test_script:
  - python -m ci test

after_test:
  - python -m ci after_test

on_finish:
  - ps: ../addons/appveyor/enable-worker-remote-access.ps1 -check_for_block

matrix:
  fast_finish: false
back to top