From 8e378d474c9f15b47c43cd9186fab250705f1ada Mon Sep 17 00:00:00 2001 From: nanoric Date: Wed, 3 Apr 2019 02:46:43 -0400 Subject: [PATCH] [Add] try to make travis work --- .travis.yml | 10 ++++++++-- install.bat | 4 ++-- requirements.txt | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index d412e7a8..8622616d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,8 @@ matrix: - choco install python3 --version 3.7.2 install: - python -m pip install --upgrade pip wheel setuptools + - 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 -r requirements.txt - pip install . @@ -43,8 +45,10 @@ matrix: - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90 - sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-8 90 - sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-8 90 - # Linux install script + # update pip & setuptools - python -m pip install --upgrade pip wheel setuptools + # Linux install script + - pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl - bash ./install.sh - name: "pip install under Ubuntu: gcc-7" @@ -58,8 +62,10 @@ matrix: - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90 - sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-7 90 - sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-7 90 - # Linux install script + # update pip & setuptools - python -m pip install --upgrade pip wheel setuptools + # Linux install script + - pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl - bash ./install.sh - name: "sdist install under Windows" diff --git a/install.bat b/install.bat index 4f06d206..e45576f0 100644 --- a/install.bat +++ b/install.bat @@ -1,6 +1,6 @@ ::Install talib and ibapi -pip install https://vnpy-pip.oss-cn-shanghai.aliyuncs.com/colletion/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl -pip install https://vnpy-pip.oss-cn-shanghai.aliyuncs.com/colletion/ibapi-9.75.1-py3-none-any.whl +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 ::Install Python Modules pip install -r requirements.txt diff --git a/requirements.txt b/requirements.txt index c459f5ba..2b64ee1d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,4 +11,4 @@ seaborn futu-api tigeropen ta-lib - +ibapi