Changeset 633400d for .appveyor.yml


Ignore:
Timestamp:
Dec 5, 2018, 10:34:39 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
Children:
283a619a
Parents:
5b46bc3 (diff), f19db54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into feature/pitchshift

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .appveyor.yml

    r5b46bc3 r633400d  
    88    # pre-installed python version, see:
    99    # http://www.appveyor.com/docs/installed-software#python
    10     - PYTHON: "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     - PYTHON: "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     - PYTHON: "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     - PYTHON: "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     - PYTHON: "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     - PYTHON: "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   - "%PYTHON%\\python.exe --version"
    43   - "%PYTHON%\\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   - "%PYTHON%\\python.exe -m pip install wheel"
     56  - "python -m pip install wheel"
    4757
    48   - "SET PATH=%PATH_EXTRAS%;%PYTHON%;%PYTHON%\\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:
    54   - curl -fsS -o waf https://waf.io/waf-1.8.22
    55   - curl -fsS -o waf.bat https://raw.githubusercontent.com/waf-project/waf/master/utils/waf.bat
     61  - "bash scripts/get_waf.sh"
    5662
    5763build_script:
    58   # build python module without using libaubio
    59   - "pip install -r requirements.txt"
    60   - "python setup.py build"
    61   - "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:
    6277  - "python python\\demos\\demo_create_test_sounds.py"
    6378  - "nose2 --verbose"
    64   # clean up
    65   - waf distclean
    66   # build libaubio
    67   - waf configure build --verbose
    68   # build python module using libaubio dll
    69   - "python setup.py build"
Note: See TracChangeset for help on using the changeset viewer.