Skip to content

Commit

Permalink
[Fix] fixed osx install
Browse files Browse the repository at this point in the history
  • Loading branch information
nanoric committed May 15, 2019
1 parent 4573424 commit 1f70d34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ matrix:
services: []
before_install: []
install:
- python -m pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl
- python3 -m pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl
- bash ./install_osx.sh
before_script: []
script:
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

python=$1
prefix=$3
prefix=$2

[[ -z $python ]] && python=python
[[ -z $prefix ]] && prefix=/usr
Expand Down
2 changes: 1 addition & 1 deletion install_osx.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

bash ./install.sh python3 pip3 /usr/local
bash ./install.sh python3 /usr/local

0 comments on commit 1f70d34

Please sign in to comment.