Skip to content

Commit a80a9bd

Browse files
pietrodnpeterbarker
authored andcommitted
AppVeyor: test on multiple Python versions
1 parent 8a44656 commit a80a9bd

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

appveyor.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
environment:
22
SITL_SPEEDUP: 10
33
SITL_RATE: 200
4+
PYTHONUNBUFFERED: 1
5+
6+
matrix:
7+
- PYTHON: "C:\\Python27"
8+
PYTHON_VERSION: "2.7"
9+
- PYTHON: "C:\\Python37"
10+
PYTHON_VERSION: "3.7"
411

512
cache:
613
- "c:\\Users\\appveyor\\.pip-wheelhouse"
714

15+
init:
16+
- cmd: "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
17+
818
install:
919
- ps: |
1020
New-Item -ItemType Directory -Force -Path c:\Users\appveyor\pip\
@@ -15,17 +25,14 @@ install:
1525
[wheel]
1626
wheel-dir = c:/Users/appveyor/.pip-wheelhouse
1727
'@ | out-file -Encoding ascii -FilePath c:\Users\appveyor\pip\pip.ini
18-
19-
- cmd: 'SET PATH=%PYTHON%;c:\\Python27\\Scripts;%PATH%'
20-
- cmd: 'SET PYTHONUNBUFFERED=1'
21-
2228
- cmd: 'python -m pip install pip wheel -U'
2329
- cmd: 'pip install . -UI'
2430
- cmd: 'pip install -r requirements.txt -UI'
2531

26-
build_script:
32+
build: off
33+
34+
test_script:
2735
- cmd: 'nosetests -svx dronekit.test.unit'
2836
- cmd: 'nosetests -svx dronekit.test.sitl'
2937

3038
clone_depth: 10
31-
test: 'off'

0 commit comments

Comments
 (0)