forked from GoogleContainerTools/skaffold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (57 loc) · 1.26 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
52
53
54
55
56
57
58
59
60
61
dist: xenial
language: go
go: "1.13.x"
go_import_path: /skaffold
git:
submodules: false
branches:
only:
- master
jobs:
include:
- os: linux
name: "checks"
env:
- STATICCHECK_CACHE=$HOME/linting
script:
- make checks
cache:
directories:
- $STATICCHECK_CACHE
- $HOME/.cache/go-build
- os: linux
name: "Linux unit"
script:
- make coverage
cache:
directories:
- $HOME/.cache/go-build
- os: osx
name: "OSX unit"
before_install:
- curl -Lo ${HOME}/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5rc2/jq-osx-x86_64
- chmod +x ${HOME}/bin/jq
script:
- make quicktest
cache:
directories:
- $HOME/.cache/go-build
- os: windows
name: "Windows unit"
env:
- GO111MODULE=on
- GOFLAGS="-mod=vendor"
script:
- go test -short -timeout 60s ./...
cache:
directories:
- C:\\Users\\travis\\AppData\\Local\\go-build
- os: linux
name: "integration"
language: minimal
script:
- make integration-in-kind
cache:
directories:
- $HOME/.cache/go-build
- $HOME/.gradle