forked from bentoml/BentoML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (48 loc) · 1.06 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
61
language: python
dist: xenial
cache:
pip: true
python:
- 3.6
- 3.7
- 3.8
services:
- docker
install:
- "python -m pip install --upgrade pip"
- "pip install ."
- "pip install --upgrade .[test]"
matrix:
include:
- os: windows
language: sh
python: "3.6"
cache:
- pip: true
before_install:
- choco install python --version 3.6.8
- export PATH="/c/Python36:/c/Python36/Scripts:$PATH"
- name: "Linting & formatting check"
python: "3.6"
script:
- ./travis/linter.sh
- name: "ONNX artifact"
python: "3.6"
script:
- ./travis/onnx_integration_tests.sh
- name: "Pytorch Artifact"
python: "3.6"
script:
- ./travis/pytorch_integration_tests.sh
- name: "Tensorflow Artifact"
python: "3.6"
script:
- ./travis/tensorflow_integration_tests.sh
- name: "API Server Integration Tests"
python: "3.7"
script:
- ./travis/integration_tests.sh
script:
- ./travis/unit_tests.sh
after_success:
- codecov