-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
.travis.yml
46 lines (44 loc) · 923 Bytes
/
.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
41
42
43
44
45
46
language: python
dist: trusty
sudo: required
branches:
only:
- develop
- master
matrix:
include:
- python: 3.6
- python: 3.7
dist: xenial
sudo: true
- python: 3.8
dist: xenial
sudo: true
install:
# Install TA-Lib
- wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
- tar -xzvf ta-lib-0.4.0-src.tar.gz
- cd ta-lib
- ./configure --prefix=/usr
- make
- sudo make install
- cd ..
# Install Test Deps
- pip install -U pip
- pip install "numpy>=1.15.4"
- pip install TA-Lib
- pip install coveralls
- pip install -U setuptools
- pip install ipython==5.3.0
- pip install --prefer-binary .
script:
- ls -al $HOME/.rqalpha/
- ls -al $HOME/.rqalpha/bundle/
- rqalpha download-bundle
- coverage run --source=rqalpha test.py
cache:
directories:
- $HOME/.cache/pip
- $HOME/.rqalpha/bundle
after_success:
coveralls