feat: Install extra dependencies

related to #235
This commit is contained in:
Weston McNamee 2020-01-24 19:03:12 -08:00 committed by Stanisław Barzowski
parent 599addaa03
commit 9518d4c520
2 changed files with 6 additions and 28 deletions

View File

@ -21,38 +21,11 @@ matrix:
- curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - - curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
- sudo apt-get update && sudo apt-get install bazel make - sudo apt-get update && sudo apt-get install bazel make
script: make all script: make all
- name: "Make Check go 1.11.x"
go: 1.11.x
before_install:
- echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
- curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
- sudo apt-get update && sudo apt-get install bazel make
script: make all
- name: "Make Check go 1.12.x"
go: 1.12.x
before_install:
- echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
- curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
- sudo apt-get update && sudo apt-get install bazel make
script: make all
- name: "Make Check go 1.13.x"
go: 1.13.x
before_install:
- echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
- curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
- sudo apt-get update && sudo apt-get install bazel make
script: make all
- name: "Make Check go tip"
go: tip
before_install:
- echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
- curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
- sudo apt-get update && sudo apt-get install bazel make
script: make all
before_install: before_install:
- go get github.com/axw/gocov/gocov - go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls - go get github.com/mattn/goveralls
- go get github.com/fatih/color
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
- go get github.com/sergi/go-diff/diffmatchpatch - go get github.com/sergi/go-diff/diffmatchpatch

View File

@ -10,6 +10,11 @@ install.dependencies:
git submodule update git submodule update
go get github.com/clipperhouse/gen go get github.com/clipperhouse/gen
go get github.com/clipperhouse/set go get github.com/clipperhouse/set
go get github.com/fatih/color
go get github.com/axw/gocov/gocov
go get github.com/mattn/goveralls
go get github.com/sergi/go-diff/diffmatchpatch
if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi;
.PHONY: install.dependencies .PHONY: install.dependencies
build.bazel: build.bazel: