[Add] try to make travis work
This commit is contained in:
parent
34a367bb7b
commit
8e378d474c
10
.travis.yml
10
.travis.yml
@ -29,6 +29,8 @@ matrix:
|
|||||||
- choco install python3 --version 3.7.2
|
- choco install python3 --version 3.7.2
|
||||||
install:
|
install:
|
||||||
- python -m pip install --upgrade pip wheel setuptools
|
- 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 -r requirements.txt
|
||||||
- pip install .
|
- 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/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/c++ c++ /usr/bin/g++-8 90
|
||||||
- sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-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
|
- 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
|
- bash ./install.sh
|
||||||
|
|
||||||
- name: "pip install under Ubuntu: gcc-7"
|
- 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/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/c++ c++ /usr/bin/g++-7 90
|
||||||
- sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-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
|
- 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
|
- bash ./install.sh
|
||||||
|
|
||||||
- name: "sdist install under Windows"
|
- name: "sdist install under Windows"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
::Install talib and ibapi
|
::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://pip.vnpy.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/ibapi-9.75.1-001-py3-none-any.whl
|
||||||
|
|
||||||
::Install Python Modules
|
::Install Python Modules
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
@ -11,4 +11,4 @@ seaborn
|
|||||||
futu-api
|
futu-api
|
||||||
tigeropen
|
tigeropen
|
||||||
ta-lib
|
ta-lib
|
||||||
|
ibapi
|
||||||
|
Loading…
Reference in New Issue
Block a user