Skip to content

Commit

Permalink
install ta-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcwyu committed Oct 28, 2016
1 parent 61459bf commit 0732911
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
language: python

sudo: required

python:
- "2.7"
# command to install dependencies
Expand All @@ -7,11 +10,9 @@ before_install:
- wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
- tar xvfz ta-lib-0.4.0-src.tar.gz
- cd ta-lib
- ./configure --prefix=$PWD/binary
- ./configure --prefix=/usr
- make
- make install
- export PATH=$PATH:ta-lib:ta-lib/binary/include:ta-lib/binary/lib
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:ta-lib:ta-lib/binary/include:ta-lib/binary/lib"
- sudo make install
- cd ..

install: "pip install -r requirements.txt"
Expand Down

0 comments on commit 0732911

Please sign in to comment.