forked from kubernetes-retired/kubefed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (34 loc) · 1.05 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
language: go
# The version used here should match the BUILD_IMAGE variable in the
# Makefile.
go:
- "1.14.7"
# Enable building in Travis using forked repos.
go_import_path: sigs.k8s.io/kubefed
# Request latest Travis distro for systemd requirement.
dist: xenial
sudo: required
services:
- docker
before_install:
- bash ./hack/verify-docfiles.sh && DOC_ONLY=true && echo "Only doc files have changed!" || test true
script:
- test $DOC_ONLY && echo "Skipped!" || DOWNLOAD_BINARIES=y bash -x ./scripts/pre-commit.sh
# Note on configuration of quay account:
#
# The image push is done using a quay robot account configured in the
# kubernetes-multicluster org.
#
# There are two environment variables configured in travis that allow the travis
# build job to use this robot account:
#
# - QUAY_USERNAME
# - QUAY_PASSWORD
#
# These are statically configured in the travis settings and are set by travis
# in the build job's execution environment.
after_success:
- test $DOC_ONLY && echo "Skipped!" || make push
# TBD. Suppressing for now.
notifications:
email: false