-
Notifications
You must be signed in to change notification settings - Fork 112
/
.travis.yml
64 lines (64 loc) · 1.5 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
62
63
64
language: go
branches:
only:
- master
jobs:
fast_finish: true
include:
- os: osx
osx_image: xcode12.4
go: "1.16"
env: JOB=osx_test
before_install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
- git lfs install
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $HOME/bin v1.37.0
before_script:
- git lfs pull
- make vmlib_install
script:
- make build
- PATH=$HOME/bin:$PATH make lint
- make test
- os: linux
dist: bionic
go: "1.16"
env: JOB=linux_test
before_install:
- git lfs install
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $HOME/bin v1.37.0
before_script:
- git lfs pull
- make vmlib_install
script:
- make build
- PATH=$HOME/bin:$PATH make lint
- make test
- os: linux
dist: bionic
go: "1.16"
env: JOB=docker_test
services:
- docker
before_install:
- echo $DOCKER_PASSWORD | docker login --username $DOCKER_USERNAME --password-stdin
- git lfs install
before_script:
- git lfs pull
script:
- make docker_build
- make docker_lint
- make docker_test
- os: linux
dist: bionic
go: "1.16"
env: JOB=e2e_test
services:
- docker
before_install:
- echo $DOCKER_PASSWORD | docker login --username $DOCKER_USERNAME --password-stdin
- git lfs install
before_script:
- git lfs pull
script:
- make e2e_test