-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
.travis.yml
33 lines (26 loc) · 810 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
language: python
# Default Python version
python: 3.8
# Install ruby to get gem command
before_install:
- sudo apt-add-repository -y ppa:brightbox/ruby-ng
- sudo apt-get -y update
- sudo apt-get -y install ruby-full
install:
- pip install torch
- pip install codecov==2.0.15
- pip install pytest-cov==2.7.1
#before_install:
# - cd Algorithm_tests/sorting_tests
# Install awesome_bot for README.md broken link checking
before_script:
- gem install awesome_bot
script:
- awesome_bot README.md --allow-dupe --allow-redirect
#- flake8 --max-line-length=88
- pytest --cov=investpy ML_tests/
#- python ML_tests/LinearRegression_tests/LinearRegression_GD.py
#- python ML_tests/LinearRegression_tests/LinearRegression_normal.py
#after_success:
# pass
#- codecov