forked from eclipse-che/che-machine-exec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (52 loc) · 1.29 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
62
63
64
dist: focal
services: docker
stages:
- Code Coverage
- Docker Build
- Build Multi Arch
- Docker Build PR
- Unit Test
language: go
go: 1.15.x
jobs:
include:
- arch: amd64
stage: Code Coverage
if: type = push
name: Code Coverage
script: bash ./travis/codecov.sh
- arch: ppc64le
stage: Code Coverage
if: type = push
name: Code Coverage
script: bash ./travis/codecov.sh
- arch: amd64
stage: Docker Build
if: type = push
name: Docker Build
script: bash ./travis/docker_build.sh
- arch: ppc64le
stage: Docker Build
if: type = push
name: Docker Build
script: bash ./travis/docker_build.sh
- arch: amd64
stage: Build Multi Arch
if: type = push
name: Build and Push Multi-arch Image
script: bash ./travis/multi_arch.sh
- arch: amd64
stage: Docker Build PR
name: Docker Build PR
if: type = pull_request
script: bash ./travis/docker_build_pr.sh
- arch: amd64
stage: Unit Test
name: Unit Test
if: type = pull_request
script: bash ./travis/unit_test.sh
- arch: ppc64le
stage: Unit Test
name: Unit Test
if: type = pull_request
script: bash ./travis/unit_test.sh