File: .appveyor.yml

package info (click to toggle)
python-hdf4 0.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 996 kB
  • sloc: ansic: 9,543; python: 3,744; makefile: 192; sh: 7
file content (46 lines) | stat: -rw-r--r-- 1,727 bytes parent folder | download
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
40
41
42
43
44
45
46
# Based on https://packaging.python.org/guides/supporting-windows-using-appveyor/
# and https://github.com/Anaconda-Platform/anaconda-project/blob/master/appveyor.yml

environment:
  matrix:
    # For Miniconda versions available on Appveyor, see
    # https://www.appveyor.com/docs/windows-images-software/#miniconda
    - MINICONDA: C:\Miniconda
    - MINICONDA: C:\Miniconda-x64
    - MINICONDA: C:\Miniconda3
    - MINICONDA: C:\Miniconda3-x64

install:
  # conda 4.5.11 seems to expect that this directory exists already
  - mkdir C:\Users\appveyor\.conda
  - call %MINICONDA%\Scripts\activate.bat
  # The safety checks are simply intended to ensure that there is enough disk space
  # and the user has the necessary permissions to make environment changes. In a CI
  # environment these are not necessary and slow things down noticeably on Windows.
  - conda config --set always_yes yes --set changeps1 no --set auto_update_conda no --set safety_checks disabled
  - conda install -q conda numpy hdf4 nose
  - conda info -a
  # We need wheel installed to build wheels
  - pip install wheel

build: off

test_script:
  # Put your test command here.
  - set LIBRARY_DIRS=%MINICONDA%\Library\bin;%MINICONDA%\Library\lib
  - set INCLUDE_DIRS=%MINICONDA%\Library\include
  - python setup.py nosetests -v
  - python examples\runall.py

after_test:
  # This step builds your wheels.
  - python setup.py bdist_wheel

artifacts:
  # bdist_wheel puts your built wheel in the dist directory
  - path: dist\*

#on_success:
#  You can use this step to upload your artifacts to a public website.
#  See Appveyor's documentation for more details. Or you can simply
#  access your wheels from the Appveyor "artifacts" tab for your build.