mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
affdd85986
The idea initially was to use bazel to do our builds, however golang build system is now good enough and our code base is entirely go. It is also slowing down our travis ci/cd pipeline.
25 lines
498 B
YAML
25 lines
498 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.14.x
|
|
|
|
env:
|
|
- GO111MODULE=on
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go get -u github.com/swaggo/swag/cmd/swag; go mod download; sudo apt-get update; sudo apt-get install rpm; sudo apt install snapd; sudo snap install skopeo --edge --devmode; fi
|
|
|
|
script:
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis_wait 60 make; fi
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|