Statistics
| Branch: | Revision:

iof-tools / networkxMiCe / networkx-master / .appveyor.yml @ 5cef0f13

History | View | Annotate | Download (1.72 KB)

1
# AppVeyor.com is a Continuous Integration service to build and run tests under
2
# Windows
3
# https://ci.appveyor.com/project/networkx/networkx
4

    
5
environment:
6
  global:
7
    # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
8
    # /E:ON and /V:ON options are not enabled in the batch script interpreter
9
    # See: http://stackoverflow.com/a/13751649/163740
10
    CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\tools\\appveyor\\run_with_env.cmd"
11

    
12
  matrix:
13
    - PYTHON: "C:\\Python35"
14
      PYTHON_VERSION: "3.5.3"
15
      PYTHON_ARCH: "32"
16

    
17
    - PYTHON: "C:\\Python35-x64"
18
      PYTHON_VERSION: "3.5.3"
19
      PYTHON_ARCH: "64"
20

    
21
    - PYTHON: "C:\\Python36"
22
      PYTHON_VERSION: "3.6.6"
23
      PYTHON_ARCH: "32"
24

    
25
    - PYTHON: "C:\\Python36-x64"
26
      PYTHON_VERSION: "3.6.6"
27
      PYTHON_ARCH: "64"
28

    
29
    - PYTHON: "C:\\Python37"
30
      PYTHON_VERSION: "3.7.0"
31
      PYTHON_ARCH: "32"
32

    
33
    - PYTHON: "C:\\Python37-x64"
34
      PYTHON_VERSION: "3.7.0"
35
      PYTHON_ARCH: "64"
36

    
37
install:
38
  # Install Python (from the official .msi of http://python.org) and pip when
39
  # not already installed.
40
  - "powershell .\\tools\\appveyor\\install.ps1"
41
  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
42

    
43
  # Check that we have the expected version and architecture for Python
44
  - "python --version"
45
  - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
46

    
47
  # Install the build and runtime dependencies of the project.
48
  # - "%CMD_IN_ENV% pip install --timeout=60 -r requirements.txt"
49
  - "pip install ."
50

    
51
  - "pip install nose"
52

    
53
# Not a .NET project, we build networkx in the install step instead
54
build: false
55

    
56
test_script:
57
  # Change to a non-source folder to make sure we run the tests on the
58
  # installed library.
59
  - "pushd %TEMP%"
60
  - "nosetests --verbosity=2 networkx"