-
Notifications
You must be signed in to change notification settings - Fork 108
/
.travis.yml
62 lines (54 loc) · 1.68 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: python
python:
- "3.7"
- "3.8"
env:
- TENSORFLOW_VERSION=1.15 MODULE=estimator
- TENSORFLOW_VERSION=2.0 MODULE=estimator
- TENSORFLOW_VERSION=2.1 MODULE=estimator
- TENSORFLOW_VERSION=2.2 MODULE=estimator
- TENSORFLOW_VERSION=2.3 MODULE=estimator
- TENSORFLOW_VERSION=2.4 MODULE=estimator
- TENSORFLOW_VERSION=2.5 MODULE=estimator
- TENSORFLOW_VERSION=2.6 MODULE=estimator
- TENSORFLOW_VERSION=1.15 MODULE=keras
- TENSORFLOW_VERSION=2.0 MODULE=keras
- TENSORFLOW_VERSION=2.1 MODULE=keras
- TENSORFLOW_VERSION=2.2 MODULE=keras
- TENSORFLOW_VERSION=2.3 MODULE=keras
- TENSORFLOW_VERSION=2.4 MODULE=keras
- TENSORFLOW_VERSION=2.5 MODULE=keras
- TENSORFLOW_VERSION=2.6 MODULE=keras
matrix:
allow_failures:
- env: TENSORFLOW_VERSION=1.15 MODULE=keras
- env: TENSORFLOW_VERSION=2.0 MODULE=keras
- env: TENSORFLOW_VERSION=2.1 MODULE=keras
- env: TENSORFLOW_VERSION=2.2 MODULE=keras
exclude:
- python: 3.8
env: TENSORFLOW_VERSION=1.15 MODULE=estimator
- python: 3.8
env: TENSORFLOW_VERSION=2.0 MODULE=estimator
- python: 3.8
env: TENSORFLOW_VERSION=2.1 MODULE=estimator
- python: 3.8
env: TENSORFLOW_VERSION=1.15 MODULE=keras
- python: 3.8
env: TENSORFLOW_VERSION=2.0 MODULE=keras
- python: 3.8
env: TENSORFLOW_VERSION=2.1 MODULE=keras
sudo: false
before_install:
- pip install pytest-cov==2.4.0
- pip install tensorflow==$TENSORFLOW_VERSION
- pip install codecov
- export PYTHONPATH=$PYTHONPATH:$pwd
install:
- pip install -r requirements.txt
script:
- pytest --cov=deep_recommenders/$MODULE tests/$MODULE
notifications:
email: wangyao.sr@gmail.com
after_success:
- codecov