[Add] use make -j2 for travis

This commit is contained in:
nanoric 2019-04-15 09:35:25 -04:00
parent 4c4dac1ae9
commit 818146f026

View File

@ -50,6 +50,7 @@ matrix:
- python -m pip install --upgrade pip wheel setuptools - python -m pip install --upgrade pip wheel setuptools
# Linux install script # Linux install script
- pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl - pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl
- alias make=make -j2
- bash ./install.sh - bash ./install.sh
- name: "sdist install under Ubuntu: gcc-7" - name: "sdist install under Ubuntu: gcc-7"
@ -77,6 +78,7 @@ matrix:
- pip install numpy - pip install numpy
- pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl - pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl
- python setup.py sdist - python setup.py sdist
- alias make=make -j2
- pip install dist/`ls dist` - pip install dist/`ls dist`
- name: "pip install under osx" - name: "pip install under osx"