Skip to content
This repository was archived by the owner on Jan 31, 2024. It is now read-only.

[elastic] Add CGO_ENABLED=0 when we build the go lsp. #86

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ install:
git:
depth: 1

env:
- GO111MODULE=off GOPROXY=https://proxy.golang.org

before_install:
- go get golang.org/x/sync/errgroup
- go get golang.org/x/xerrors
Expand All @@ -31,6 +28,11 @@ matrix:
include:
- name: Unit Tests & Package | Linux x64
os: linux
env:
- GO111MODULE=off
- GOPROXY=https://proxy.golang.org
- CGO_ENABLED=0
- ARCH=x86_64
script:
- go test ./internal/lsp
- mkdir build
Expand Down Expand Up @@ -83,6 +85,11 @@ matrix:

- name: Unit Tests & Package | OSX
os: osx
env:
- GO111MODULE=off
- GOPROXY=https://proxy.golang.org
- CGO_ENABLED=0
- ARCH=x86_64
script:
- go test ./internal/lsp
- mkdir build
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ environment:
GOPATH: c:\gopath
GO111MODULE: off
GOPROXY: "https://proxy.golang.org"
CGO_ENABLED: 0
github_access_token:
secure: h4ICNdm1D4g1klCMU6lQ7t92lwIrzo2HHzqc9MJpZdibgfNNFNGwywHWyBa0KPpL
github_email:
Expand Down