From 1fa8df8ad18caaa9612af7065614ef696dd8520a Mon Sep 17 00:00:00 2001 From: G_will Date: Tue, 30 Oct 2018 12:03:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=20travis=20=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=AE=89=E8=A3=85=20ta-lib=20=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index fd330019..5db367a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,15 @@ cache: pip python: - 2.7 - 3.6 +before_install: + - sudo apt install build-essential + - wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz + - tar -xzf ta-lib-0.4.0-src.tar.gz + - cd ta-lib/ + - ./configure --prefix=/usr + - make + - sudo make install + - cd .. install: - pip install -r requirements.txt - pip install flake8 # pytest # add another testing frameworks later