forked from GoogleContainerTools/skaffold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (47 loc) · 1.15 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
dist: xenial
language: go
go: "1.12.x"
go_import_path: /skaffold
git:
submodules: false
branches:
only:
- master
jobs:
include:
- os: linux
name: "checks"
script:
- make checks
- os: linux
name: "Linux unit"
script:
- make
- make quicktest
after_success:
- bash <(curl -s https://codecov.io/bash)
- os: osx
name: "OSX unit"
env:
- GO111MODULE=on
- GOFLAGS="-mod=vendor"
script:
- go build -o out/skaffold cmd/skaffold/skaffold.go
- go test -short -timeout 60s ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
- os: windows
name: "Windows unit"
env:
- GO111MODULE=on
- GOFLAGS="-mod=vendor"
script:
- go build -o out/skaffold.exe cmd/skaffold/skaffold.go
- go test -short -timeout 60s ./...
- os: linux
name: "integration"
before_install:
- curl -Lo ${HOME}/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.4.0/kind-linux-amd64
- chmod +x ${HOME}/bin/kind
script:
- make integration-in-kind