-
Notifications
You must be signed in to change notification settings - Fork 949
/
.travis.yml
50 lines (42 loc) · 1.09 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
dist: xenial
sudo: required
language: go
go:
- 1.12.6
go_import_path: github.com/alibaba/pouch
before_install:
|
echo $TRAVIS_COMMIT_RANGE
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)' || {
echo "travis does not run for document-only changed"
exit
}
notifications:
webhooks:
urls:
- http://47.96.190.121:6789/ci_notifications
on_failure: always
on_error: always
jobs:
include:
- stage: test
name: "Unit test"
script: ./travis_ci.sh unittest
- stage: test
name: "CRIv1alpha2 test"
script: ./travis_ci.sh criv1alpha2test
- stage: test
name: "Node e2e test"
script: ./travis_ci.sh nodee2etest
- stage: test
name: "Integration test 0"
script: ./travis_ci.sh integrationtest 4 0
- stage: test
name: "Integration test 1"
script: ./travis_ci.sh integrationtest 4 1
- stage: test
name: "Integration test 2"
script: ./travis_ci.sh integrationtest 4 2
- stage: test
name: "Integration test 3"
script: ./travis_ci.sh integrationtest 4 3