From 1f480b581b0f9eaa3d21d3cd175eb339d00556d9 Mon Sep 17 00:00:00 2001 From: nanoric Date: Fri, 29 Mar 2019 04:50:50 -0400 Subject: [PATCH] [Add] travis-ci: sdist under windows : added custom installer of talib and ibapi --- .travis.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 69c7cbc3..5d13460d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,18 +31,6 @@ matrix: - pip install -r requirements.txt - pip install . - - name: "sdist install under Windows" - os: "windows" - language: "cpp" - env: - - PATH=/c/Python37:/c/Python37/Scripts:$PATH - before_install: - - choco install python3 --version 3.7.2 - install: - - python -m pip install --upgrade pip wheel setuptools - - python setup.py sdist - - pip install dist/`ls dist` - - name: "pip install under Ubuntu: gcc-8" before_install: # C++17 @@ -73,6 +61,19 @@ matrix: - python -m pip install --upgrade pip wheel setuptools - bash ./install.sh + - name: "sdist install under Windows" + os: "windows" + env: + - PATH=/c/Python37:/c/Python37/Scripts:$PATH + before_install: + - choco install python3 --version 3.7.2 + install: + - python -m pip install --upgrade pip wheel setuptools + - python setup.py sdist + - pip install https://pip.vnpy.com/colletion/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl + - pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl + - pip install dist/`ls dist` + - name: "sdist install under Ubuntu: gcc-8" before_install: # C++17