-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
41 lines (32 loc) · 957 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
language: go
go:
- 1.13.x
env:
- GO111MODULE=on
dist: bionic
git:
depth: 1
before_install:
- . /etc/os-release
- sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${ID^}_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
- wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${ID^}_${VERSION_ID}/Release.key -O Release.key
- sudo apt-key add - < Release.key
- sudo apt-get update -qq
- sudo apt-get -qq -y install buildah
- sudo apt-get -qq -y install yamllint
install:
- make install
script:
- make update-connections
- make build
deploy:
provider: script
script: "buildah login -u $QUAY_USERNAME -p $QUAY_PASSWORD quay.io && make quay-push"
on:
tags: false
branch: master
repo: teiid/teiid-operator
condition: -n "$QUAY_USERNAME"
cache:
directories:
- $GOPATH/pkg/mod