forked from kubeedge/kubeedge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (49 loc) · 1.15 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
language: go
git:
depth: false
os: linux
dist: focal
services:
- docker
go:
- 1.14
env:
- HOME=/home/travis
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod
before_install:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md)|(\.png)|(\.pdf)|(\.html)|^(LICENSE)|^(docs)|^(OWNERS)|^(MAINTAINERS)'
then
echo "Only doc files were updated, skip running the CI."
travis_terminate 0
fi
install: skip
jobs:
include:
- stage: "Test on arm64"
name: "build, smallbuild"
arch: arm64
before_script:
- export GOFLAGS=-mod=vendor
- sudo apt-get install upx-ucl -y
script:
- make
- make bluetoothdevice
- make smallbuild
- name: "unit test, integration test edge"
arch: arm64
before_script:
- export GOFLAGS=-mod=mod
script:
- make test
- name: "build docker images on arm64"
arch: arm64
script:
- make cloudimage
- make admissionimage
- make edgeimage ARCH="arm64v8"
- make edgesiteimage ARCH="arm64v8"
- make bluetoothdevice_image