[Fix] try fix osx

This commit is contained in:
nanoric 2019-04-15 01:41:02 -04:00
parent a7a80e0e9a
commit 37a2aa754f

View File

@ -16,7 +16,6 @@ before_script:
- mysql -u root --password=${VNPY_TEST_MYSQL_PASSWORD} -e 'CREATE DATABASE vnpy;' - mysql -u root --password=${VNPY_TEST_MYSQL_PASSWORD} -e 'CREATE DATABASE vnpy;'
script: script:
# todo: use python unittest
- pip install psycopg2 mongoengine pymysql # we should support all database in test environment - pip install psycopg2 mongoengine pymysql # we should support all database in test environment
- cd tests; source travis_env.sh; - cd tests; source travis_env.sh;
- python test_all.py - python test_all.py
@ -53,6 +52,11 @@ matrix:
- pip3 install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl - pip3 install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl
- bash ./install.sh python3 pip3 - bash ./install.sh python3 pip3
script:
- pip3 install psycopg2 mongoengine pymysql # we should support all database in test environment
- cd tests; source travis_env.sh;
- python3 test_all.py
- name: "pip install under Ubuntu: gcc-8" - name: "pip install under Ubuntu: gcc-8"
before_install: before_install:
# C++17 # C++17