forked from stoiver/pyswmm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (42 loc) · 1.25 KB
/
appveyor.yml
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
47
48
49
50
51
# https://ci.appveyor.com/project/goanpeca/pyswmm
matrix:
fast_finish: true
branches:
only:
- master
- /dev-.*/
environment:
global:
# Used by qthelpers to close widgets after a defined time
TEST_CI: True
# Environment variables used by astropy helpers
PYTHON: "C:\\conda"
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci-helpers\\appveyor\\windows_sdk.cmd"
matrix:
- PYTHON_VERSION: "2.7"
TARGET_ARCH: x86
- PYTHON_VERSION: "3.4"
TARGET_ARCH: x86
- PYTHON_VERSION: "3.5"
TARGET_ARCH: x86
- PYTHON_VERSION: "3.6"
TARGET_ARCH: x86
platform:
- x86
install:
# Astropy ci-helpers. See https://github.com/astropy/ci-helpers
- "git clone git://github.com/astropy/ci-helpers.git"
- "powershell ci-helpers/appveyor/install-miniconda.ps1"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "activate test"
# Install the selected Qt version
- "conda install --file requirements-test.txt -c spyder-ide"
- IF "%PYTHON_VERSION%" == "2.7" conda install enum34
- "python setup.py develop"
# Not a .NET project, we build in the install step instead
build: false
test_script:
- ciocheck setup.py --disable-tests
- ciocheck pyswmm --disable-tests
- pytest pyswmm
# - coveralls --disable-tests