forked from shenweichen/DeepCTR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (53 loc) · 1.25 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
#sudo: required
#dist: trusty xenial
language: python
python:
- "3.4"
- "3.5"
- "3.6"
# - "3.7"
env:
# - TF_VERSION=1.13.1
- TF_VERSION=1.12.0
- TF_VERSION=1.4.0
#Not Support- TF_VERSION=1.7.0
#Not Support- TF_VERSION=1.7.1
#Not Support- TF_VERSION=1.8.0
- TF_VERSION=1.9.0
- TF_VERSION=1.10.0 #- TF_VERSION=1.10.1
# - TF_VERSION=1.11.0
- TF_VERSION=1.5.1 #- TF_VERSION=1.5.0
- TF_VERSION=1.6.0
matrix:
allow_failures:
- python: "3.4"
- python: "3.5"
- python: "3.7"
- env: TF_VERSION=1.5.0 #local is ok,but sometimes CI is failed
- env: TF_VERSION=1.7.0
- env: TF_VERSION=1.7.1
- env: TF_VERSION=1.8.0
- env: TF_VERSION=1.12.0 # too slow
- env: TF_VERSION=1.13.1 # too slow
fast_finish: true
cache: pip
# command to install dependencies
install:
- pip install -q pytest-cov==2.4.0 #>=2.4.0,<2.6
- pip install -q python-coveralls
- pip install -q codacy-coverage
- pip install -q tensorflow==$TF_VERSION
- pip install -q pandas
- pip install -e .
# command to run tests
script:
- pytest --cov=deepctr
notifications:
recipients:
- wcshen1994@163.com
on_success: change
on_failure: change
after_success:
- coveralls
- coverage xml
- python-codacy-coverage -r coverage.xml