forked from gbeced/pyalgotrade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (34 loc) · 1.61 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
env:
global:
- secure: "YgngWTEKD6bUVgExTN8vWYCq7mrMKsVVqZaWIsepRziU++K1e9iBuQrSspQbyrdsKMqKMyMnsM3ru7M6+D0F+p/BC4gyWg6N+wn3RoqrWidyutejibsobDJnS3EsSfo4cJUFcoAOzzuXK+Du0yUZPNBxjJdF/NA1C8vDg0YAmzs="
- secure: "GUuZEQSA9x96bIJiC/Ab/RxQ+Dv2eqwhRVaZYVlmuSDQXouDJdFAF9dEcUplwt3TCKg7CbOa3gr2c1rJ7bclk1ueUSXdwzlgEfEdcu7Xm+lf6LcfZESDtWUvPgRzvVqspp3hwx+SCpSl2TzXwgCRNOX8ybDC5ZvRZRQaagT6maA="
- secure: "oAUaWICTHks6N/RNFZbF/NJE+1mB45DRZu1uvzKN5EhEp+Qys6LGHm1yZLI1sMAfwYrLro1oxNGpxD26hoMDjy2bDyBNZj59i2M7Eeo9juY3wR2sz0tKuvEdMdbuhMGyDgvXV6xlqO10hHeUUwbJOyxcQxmcp0c33B0Jse3m+pI="
- secure: "OrR5+l3HzjKWQtVRUIHB1uLCFtRt1wNAQxJjoL6mufBMIigcpMnE2QzsoP9ywSgew8St4nFMGaL/xxR/RYTi59c6fVRh8zGg/JYMSYtr4UM8M2Gk0vSYmo3JO9OihOxn3JWbF4606vzEgqtjMT9qojo3Xx/d0Hp9br5s/wwe1oQ="
before_install:
- sudo apt-get install gfortran libopenblas-dev liblapack-dev
- sudo pip install numpy
- sudo apt-get install python-scipy
# statsmodels dependencies
- sudo pip install pandas
- sudo pip install patsy
# TA-Lib dependencies
- ./travis/install_talib_deps.sh
# Code coverage reports
- sudo pip install coveralls
# PyAlgoTrade dependencies
- sudo pip install --allow-external=TA-Lib --allow-unverified=TA-Lib -r travis/requirements.txt
install:
- pip list
- pip install .
# command to run tests
# optimizer_testcase is ignored because it gets blocked in Travis.
script:
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- nosetests --ignore-files=optimizer_testcase --with-coverage --cover-package=pyalgotrade
after_success:
- coveralls