From 37a2aa754f3576a51e558646fae684ec402fb81a Mon Sep 17 00:00:00 2001 From: nanoric Date: Mon, 15 Apr 2019 01:41:02 -0400 Subject: [PATCH] [Fix] try fix osx --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d9a7538f..b890e1ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,6 @@ before_script: - mysql -u root --password=${VNPY_TEST_MYSQL_PASSWORD} -e 'CREATE DATABASE vnpy;' script: - # todo: use python unittest - pip install psycopg2 mongoengine pymysql # we should support all database in test environment - cd tests; source travis_env.sh; - 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 - 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" before_install: # C++17