forked from EVEInsight/Insight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
31 lines (23 loc) · 820 Bytes
/
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
version: '{branch}.{build}'
pull_requests:
do_not_increment_build_number: true
skip_tags: true
max_jobs: 1
image: Visual Studio 2017
environment:
matrix:
- PYTHON: C:\Python36-x64
install:
- ps: >-
Invoke-WebRequest -OutFile swagger-client-python.zip https://github.com/Nathan-LS/Insight/releases/download/v1.3.1/swagger-client-python.zip
Expand-Archive swagger-client-python.zip -DestinationPath swagger-client-python
cd swagger-client-python
&$env:PYTHON\python -m pip install --upgrade pip
&$env:PYTHON\python setup.py install
cd ..
rm swagger-client-python -R
&$env:PYTHON\python -m pip install --upgrade -r requirements.txt
&$env:PYTHON\python -m pip install --upgrade pytest --no-warn-script-location
build: off
test_script:
- cmd: '%PYTHON%\\python.exe -m pytest'