forked from kakao/buffalo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (45 loc) · 903 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
47
48
49
50
51
52
53
54
dist: bionic
language: python
jobs:
include:
- python: '3.6'
- python: '3.7'
git:
depth: 1
addons:
apt:
packages:
- cmake
- python3
- python3-pip
- python3-setuptools
cache:
pip: true
directories:
- $HOME/.cache/pip
- ./tests/ext
before_install:
- pip install --upgrade pip
- pip install --upgrade setuptools
- pip install pytest
- git submodule update --init
- git lfs pull
- pip install --upgrade numpy cython
- pip install -r requirements.txt
- cmake --version
install:
- python3 setup.py install
before_script:
- cd tests
script:
- pytest ./data/
- pytest ./util/
- pytest ./algo/test_base.py
- pytest ./algo/test_als.py
- pytest ./algo/test_bpr.py
- pytest ./algo/test_cfr.py
- pytest ./algo/test_optimize.py
- pytest ./algo/test_quickselect.py
- pytest ./parallel/
notifications:
email: false