[Add] .travis.yml: added names for build matrix

This commit is contained in:
nanoric 2019-03-19 04:34:49 -04:00
parent bcc110b1ae
commit 0ce5e15c8b

View File

@ -7,9 +7,8 @@ python:
matrix: matrix:
include: include:
- name: "pip install under linux"
# pip install under linux before_install:
- before_install:
# C++17 # C++17
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq - sudo apt-get update -qq
@ -22,11 +21,12 @@ matrix:
# Linux install script # Linux install script
- bash ./install.sh - bash ./install.sh
script: script:
# todo: use python unittest
- python -c "import vnpy.api.ctp.vnctp; import vnpy.api.oes.vnoes; exit(0);" - python -c "import vnpy.api.ctp.vnctp; import vnpy.api.oes.vnoes; exit(0);"
# code quality analysis - name: "code quality analysis: flake8"
- before_install: before_install:
- pip install flake8 - pip install flake8
install: install:
- "" # prevent running "pip install -r requirements.txt" - "" # prevent running "pip install -r requirements.txt"