forked from kanisterio/kanister
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (46 loc) · 947 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
48
49
50
51
sudo: required
services:
- docker
# Selecting C as the language keeps the container to a minimum footprint. All
# go-specifc code is run in build container.
language: c
branches:
only:
- master
cache:
directories:
- .go/pkg/mod/cache
- .go/cache
jobs:
include:
- stage: test
script:
- make docs
- stage: test
install:
- make go-mod-download
before_script:
- make start-kind
script:
- make build
- make codegen
- make test
before_cache:
- sudo chown -R travis:travis ./.go
after_script:
- make stop-kind
- stage: test
install:
- make go-mod-download
before_script:
- make start-kind
- make install-minio
script:
- make integration-test
before_cache:
- sudo chown -R travis:travis ./.go
after_script:
- make stop-kind
- stage: test
script:
- make golint