"Fossies" - the Fresh Open Source Software Archive

Member "cheetah3-3.2.6.post2/appveyor.yml" (20 Apr 2021, 3982 Bytes) of package /linux/www/cheetah3-3.2.6.post2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "appveyor.yml": 3-3.2.4_vs_3-3.2.5.

    1 version: '{branch}-{build}'
    2 
    3 cache:
    4   - '%LOCALAPPDATA%\pip\Cache'
    5     # Cache chocolatey-installed packages (PyPy)
    6   - C:\ProgramData\chocolatey\bin -> appveyor.yml, devscripts\CI\appveyor_install_pypy.cmd
    7   - C:\ProgramData\chocolatey\lib -> appveyor.yml, devscripts\CI\appveyor_install_pypy.cmd
    8 
    9 # Match travis
   10 clone_depth: 50
   11 
   12 environment:
   13   global:
   14     # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
   15     # /E:ON and /V:ON options are not enabled in the batch script intepreter
   16     # See: http://stackoverflow.com/a/13751649/163740
   17     CMD_IN_ENV: "cmd /E:ON /V:ON /C devscripts\\CI\\run_with_env.cmd"
   18 
   19   matrix:
   20     - TOXENV: "py27"
   21       PYTHON_VERSION: "2.7"
   22       PYTHON_ARCH: "32"
   23       PYTHON_HOME: "C:\\Python27"
   24     - TOXENV: "py27"
   25       PYTHON_VERSION: "2.7"
   26       PYTHON_ARCH: "64"
   27       PYTHON_HOME: "C:\\Python27-x64"
   28     - TOXENV: "py34"
   29       PYTHON_VERSION: "3.5"
   30       PYTHON_ARCH: "32"
   31       PYTHON_HOME: "C:\\Python35"
   32       PYTHON34_HOME: "C:\\Python34"
   33     - TOXENV: "py34"
   34       PYTHON_VERSION: "3.5"
   35       PYTHON_ARCH: "64"
   36       PYTHON_HOME: "C:\\Python35-x64"
   37       PYTHON34_HOME: "C:\\Python34-x64"
   38     - TOXENV: "py35"
   39       PYTHON_VERSION: "3.5"
   40       PYTHON_ARCH: "32"
   41       PYTHON_HOME: "C:\\Python35"
   42     - TOXENV: "py35"
   43       PYTHON_VERSION: "3.5"
   44       PYTHON_ARCH: "64"
   45       PYTHON_HOME: "C:\\Python35-x64"
   46     - TOXENV: "py36"
   47       PYTHON_VERSION: "3.6"
   48       PYTHON_ARCH: "32"
   49       PYTHON_HOME: "C:\\Python36"
   50     - TOXENV: "py36"
   51       PYTHON_VERSION: "3.6"
   52       PYTHON_ARCH: "64"
   53       PYTHON_HOME: "C:\\Python36-x64"
   54     - TOXENV: "py37"
   55       PYTHON_VERSION: "3.7"
   56       PYTHON_ARCH: "32"
   57       PYTHON_HOME: "C:\\Python37"
   58     - TOXENV: "py37"
   59       PYTHON_VERSION: "3.7"
   60       PYTHON_ARCH: "64"
   61       PYTHON_HOME: "C:\\Python37-x64"
   62     - TOXENV: "py38"
   63       PYTHON_VERSION: "3.8"
   64       PYTHON_ARCH: "32"
   65       PYTHON_HOME: "C:\\Python38"
   66     - TOXENV: "py38"
   67       PYTHON_VERSION: "3.8"
   68       PYTHON_ARCH: "64"
   69       PYTHON_HOME: "C:\\Python38-x64"
   70     - TOXENV: "py39"
   71       PYTHON_VERSION: "3.9"
   72       PYTHON_ARCH: "32"
   73       PYTHON_HOME: "C:\\Python39"
   74       APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
   75     - TOXENV: "py39"
   76       PYTHON_VERSION: "3.9"
   77       PYTHON_ARCH: "64"
   78       PYTHON_HOME: "C:\\Python39-x64"
   79       APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
   80     - TOXENV: "pypy"
   81       PYTHON_VERSION: "2.7"
   82       PYTHON_ARCH: "32"
   83       PYTHON_HOME: "C:\\ProgramData\\chocolatey\\lib\\python.pypy\\tools\\pypy2.7-v7.3.1-win32"
   84 
   85 install:
   86   # Ensure we use the right python version
   87   - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
   88   - "SET PYTHON=%PYTHON_HOME%\\python.exe"
   89   - "SET TOXPYTHON=%PYTHON%"
   90   - if "%TOXENV%" == "py34" SET TOXPYTHON=%PYTHON34_HOME%\python.exe
   91   - if "%TOXENV%" == "pypy" devscripts\CI\appveyor_install_pypy.cmd
   92   - if "%TOXENV%" == "pypy" SET PYTHON=%PYTHON_HOME%\pypy.exe
   93   - if "%TOXENV%" == "pypy" SET TOXPYTHON=%PYTHON%
   94   - "%PYTHON% --version"
   95   - "%PYTHON% -c \"import struct; print(struct.calcsize('P') * 8)\""
   96   - "%PYTHON% -m ensurepip"
   97   - "%PYTHON% -m pip install --upgrade \"pip<19.2\" \"setuptools<44\""
   98   - "%PYTHON% -m pip install --upgrade \"tox>=3.15\" ppu"
   99   - "%PYTHON% -m pip --version"
  100 
  101 # No build step - _namemapper extension will be built under tox
  102 build: false
  103 
  104 test_script:
  105   - "%CMD_IN_ENV% %PYTHON% -m tox"
  106 
  107 after_test:
  108   - remove-old-files.py -o 180 %LOCALAPPDATA%\pip\Cache
  109 
  110 deploy_script:
  111   # If tests are successful and we've tested a tag, deploy binary wheel
  112   # TWINE_USERNAME / TWINE_PASSWORD / TWINE_REPOSITORY_URL
  113   # must be set in AppVeyor settings.
  114   - if "%APPVEYOR_REPO_TAG%" == "true" (
  115       if "%TOXENV%" == "py34" (
  116         %TOXPYTHON% -m pip install --upgrade "readme-renderer<25.0" "twine<2.0" "wheel==0.31.1"
  117       ) else (
  118         %TOXPYTHON% -m pip install --upgrade twine "wheel==0.34.1"
  119       ) &&
  120       %CMD_IN_ENV% %TOXPYTHON% setup.py bdist_wheel &&
  121       twine upload --skip-existing dist\*.whl
  122     )