[Fix] fixed windows sdist build

This commit is contained in:
nanoric 2019-04-14 11:06:21 -04:00
parent 3cd60e0dcc
commit 69aae4371e

View File

@ -95,12 +95,16 @@ matrix:
- name: "sdist install under Windows" - name: "sdist install under Windows"
os: "windows" os: "windows"
services: [] # service is not need
before_script: []
# language : cpp is necessary for windows # language : cpp is necessary for windows
language: "cpp" language: "cpp"
env: env:
- PATH=/c/Python37:/c/Python37/Scripts:$PATH - PATH=/c/Python37:/c/Python37/Scripts:$PATH
before_install: before_install:
- choco install python3 --version 3.7.2 - choco install -yf mysql mongodb
- choco install -yf postgresql10 --params '/Password:'
- choco install -yf python3 --version 3.7.2
install: install:
- python -m pip install --upgrade pip wheel setuptools - python -m pip install --upgrade pip wheel setuptools
- python setup.py sdist - python setup.py sdist