forked from kubernetes-sigs/cluster-api-provider-ibmcloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (36 loc) · 783 Bytes
/
.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
arch:
- amd64
- ppc64le
- s390x
os:
- linux
# Only clone the most recent commit.
git:
depth: 1
language: go
go:
- "1.13"
branches:
only:
- master
# Always set the project's Go import path to ensure that forked
# builds get cloned to the correct location.
go_import_path: sigs.k8s.io/cluster-api-provider-ibmcloud
before_install:
- |
export VERSION=latest
export KUBEBUILDER_PATH=${GOPATH}/bin
export KUBECTL_PATH=${GOPATH}/bin
- make check
- make test
# Skip the install process; let pre-commit.sh do it.
install: true
before_script:
- docker login -u ${QUAY_USER} -p ${QUAY_KEY} ${QUAY_REPO}
script:
- make images
- make push-clusterctl-image
- make push-controller-image
# TBD. Suppressing for now.
notifications:
email: false