forked from jesse-ai/jesse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (31 loc) · 715 Bytes
/
.travis.yml
File metadata and controls
33 lines (31 loc) · 715 Bytes
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
language: python
dist: focal
cache:
directories:
- $HOME/.cache/pip
- $HOME/ta-lib
python:
- "3.7"
- "3.8"
- "3.9"
before_install:
- cd
- pip3 install Cython numpy
- if [ ! -f "$HOME/ta-lib/src" ]; then wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz -q && tar -xzf ta-lib-0.4.0-src.tar.gz; fi
- cd ta-lib/
- ./configure --prefix=/usr
- if [ ! -f "$HOME/ta-lib/src" ]; then make; fi
- sudo make install
- cd
# command to install dependencies
install:
- pip install codecov
- pip install pytest-cov
- cd $TRAVIS_BUILD_DIR
- pip install -r requirements.txt
- pip install -e .
# command to run tests
script:
- pytest --cov=./
after_success:
- codecov