Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • .appveyor.yml

    r236e2a0 r0b9e3b8a  
    88    # pre-installed python version, see:
    99    # http://www.appveyor.com/docs/installed-software#python
    10     - PYTHONDIR: "C:\\Python27"
    11       PYTHON_VERSION: "2.7.x"
    12       PYTHON_ARCH: "32"
     10    - PYTHONDIR: C:\Python27
     11      PYTHON_VERSION: 2.7.x
     12      PYTHON_ARCH: 32
    1313
    14     - PYTHONDIR: "C:\\Python27-x64"
    15       PYTHON_VERSION: "2.7.x"
    16       PYTHON_ARCH: "64"
     14    - PYTHONDIR: C:\Python27-x64
     15      PYTHON_VERSION: 2.7.x
     16      PYTHON_ARCH: 64
    1717
    18     - PYTHONDIR: "C:\\Python34"
    19       PYTHON_VERSION: "3.4.x"
    20       PYTHON_ARCH: "32"
     18    - PYTHONDIR: C:\Python35
     19      PYTHON_VERSION: 3.5.x
     20      PYTHON_ARCH: 32
    2121
    22     - PYTHONDIR: "C:\\Python34-x64"
    23       PYTHON_VERSION: "3.4.x"
    24       PYTHON_ARCH: "64"
     22    - PYTHONDIR: C:\Python35-x64
     23      PYTHON_VERSION: 3.5.x
     24      PYTHON_ARCH: 64
    2525
    26     - PYTHONDIR: "C:\\Python35"
    27       PYTHON_VERSION: "3.5.x"
    28       PYTHON_ARCH: "32"
     26    - PYTHONDIR: C:\Python36
     27      PYTHON_VERSION: 3.6.x
     28      PYTHON_ARCH: 32
    2929
    30     - PYTHONDIR: "C:\\Python35-x64"
    31       PYTHON_VERSION: "3.5.x"
    32       PYTHON_ARCH: "64"
    33       # add path required to run preprocessor step
    34       PATH_EXTRAS: "c:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin"
     30    - PYTHONDIR: C:\Python36-x64
     31      PYTHON_VERSION: 3.6.x
     32      PYTHON_ARCH: 64
     33
     34    - PYTHONDIR: C:\Python37
     35      PYTHON_VERSION: 3.7.x
     36      PYTHON_ARCH: 32
     37
     38    - PYTHONDIR: C:\Python37-x64
     39      PYTHON_VERSION: 3.7.x
     40      PYTHON_ARCH: 64
    3541
    3642install:
    37 
    3843  - ECHO "Installed SDKs:"
    3944  - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
    4045
     46  - "SET PATH=%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%"
     47
    4148  # Check that we have the expected version and architecture for Python
    42   - "%PYTHONDIR%\\python.exe --version"
    43   - "%PYTHONDIR%\\python.exe -c \"import struct; print(struct.calcsize('P') * 8)\""
     49  - "python --version"
     50  - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
     51
     52  - "python -m pip install --disable-pip-version-check --user --upgrade pip"
     53  - "python -m pip install --upgrade setuptools"
    4454
    4555  # We need wheel installed to build wheels
    46   - "%PYTHONDIR%\\python.exe -m pip install wheel"
     56  - "python -m pip install wheel"
    4757
    48   - "SET PATH=%PATH_EXTRAS%;%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%"
    49 
    50   - "pip install --disable-pip-version-check --user --upgrade pip"
    51   - "pip install --upgrade setuptools"
     58  - "pip install -r requirements.txt"
    5259
    5360before_build:
     
    5562
    5663build_script:
    57   # build python module without using libaubio
    58   - "pip install -r requirements.txt"
    59   - "python setup.py build"
    60   - "pip install ."
     64  # also build libaubio with waf
     65  - python waf configure build install --verbose --msvc_version="msvc 14.0"
     66  # clean before building python package
     67  - python waf distclean
     68  # build, upload and install wheel (inspired by numpy's appveyor)
     69  - ps: |
     70      pip wheel -v -v -v --wheel-dir=dist .
     71      ls dist -r | Foreach-Object {
     72          Push-AppveyorArtifact $_.FullName
     73          pip install $_.FullName
     74      }
     75
     76test_script:
    6177  - "python python\\demos\\demo_create_test_sounds.py"
    6278  - "nose2 --verbose"
    63   # clean up
    64   - "python waf distclean"
    65   # build libaubio
    66   - python waf configure build --verbose --msvc_version="msvc 14.0"
Note: See TracChangeset for help on using the changeset viewer.