Merge pull request #1502 from nanoric/travis_windows

Travis windows
This commit is contained in:
vn.py 2019-03-20 11:49:01 +08:00 committed by GitHub
commit 9d44f4e0f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 2 deletions

View File

@ -15,6 +15,20 @@ matrix:
script:
- flake8
- name: "pip 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:
- pip install -r requirements.txt
- pip install .
script:
# todo: use python unittest
- mkdir run; cd run; python -c "import vnpy.api.ctp.vnctpmd; import vnpy.api.oes.vnoes; exit(0);"
- name: "pip install under Ubuntu: gcc-8"
before_install:
# C++17
@ -30,7 +44,7 @@ matrix:
- bash ./install.sh
script:
# todo: use python unittest
- mkdir run; cd run; python -c "import vnpy.api.ctp.vnctp; import vnpy.api.oes.vnoes; exit(0);"
- mkdir run; cd run; python -c "import vnpy.api.ctp.vnctpmd; import vnpy.api.oes.vnoes; exit(0);"
- name: "pip install under Ubuntu: gcc-7"
before_install:
@ -47,5 +61,5 @@ matrix:
- bash ./install.sh
script:
# todo: use python unittest
- mkdir run; cd run; python -c "import vnpy.api.ctp.vnctp; import vnpy.api.oes.vnoes; exit(0);"
- mkdir run; cd run; python -c "import vnpy.api.ctp.vnctpmd; import vnpy.api.oes.vnoes; exit(0);"

0
vnpy/api/oes/__init__.py Normal file
View File

Binary file not shown.