forked from apache/solr-operator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
47 lines (41 loc) · 862 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
47
language: go
services:
- docker
go:
- "1.12"
- master
script:
- docker --version
# dep
- ./hack/install_dependencies.sh
# build locally and run locally
- make clean
- make vendor
- make generate
- make manifests
- make build
# - ./bin/manager --help
- make test
- make manifests-check
jobs:
include:
- stage: "Docker"
name: "Build containers"
script:
- make docker-base-build
- make docker-build
- make docker-vendor-build
- name: "Push containers"
deploy:
- provider: script
script: bash docker_deploy.sh
skip_cleanup: true
on:
tags: true
condition: -n "$DOCKER_PASSWORD"
- stage: "Github Release"
deploy:
- provider: releases
skip_cleanup: true
on:
tags: true