File: appveyor.yml

package info (click to toggle)
pydecorate 0.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 7,948 kB
  • sloc: python: 592; makefile: 139
file content (39 lines) | stat: -rw-r--r-- 1,174 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
environment:
  global:
    PYTHON: "C:\\conda"
    MINICONDA_VERSION: "latest"
    CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci-helpers\\appveyor\\windows_sdk.cmd"
    CONDA_DEPENDENCIES: "sphinx pillow coverage trollimage aggdraw pytest pytest-cov"
    PIP_DEPENDENCIES: ""
    CONDA_CHANNELS: "conda-forge"

  matrix:
    - PYTHON: "C:\\Python38_64"
      PYTHON_VERSION: "3.8"
      PYTHON_ARCH: "64"
      NUMPY_VERSION: "stable"

install:
    - "git clone --depth 1 git://github.com/astropy/ci-helpers.git"
    - "powershell ci-helpers/appveyor/install-miniconda.ps1"
    - "conda activate test"
    - "pip install --no-deps -e ."

build: false  # Not a C# project, build stuff at the test step instead.

test_script:
  # Build the compiled extension and run the project tests
  - "%CMD_IN_ENV% pytest --cov=pydecorate test.py"

after_test:
  # If tests are successful, create a whl package for the project.
  - "%CMD_IN_ENV% python setup.py bdist_wheel bdist_wininst"
  - ps: "ls dist"

artifacts:
  # Archive the generated wheel package in the ci.appveyor.com build report.
  - path: dist\*

#on_success:
#  - TODO: upload the content of dist/*.whl to a public wheelhouse
#