mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
20 lines
551 B
YAML
20 lines
551 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.12.x
|
|
|
|
env:
|
|
- GO111MODULE=on
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget -N https://github.com/bazelbuild/bazel/releases/download/0.26.1/bazel-0.26.1-installer-linux-x86_64.sh && chmod +x bazel-0.26.1-installer-linux-x86_64.sh && ./bazel-0.26.1-installer-linux-x86_64.sh --user; go get -u github.com/swaggo/swag/cmd/swag; go mod download; fi
|
|
|
|
script:
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make && make -f Makefile.bazel build; fi
|