mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05: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.
24 lines
498 B
YAML
24 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)
|
|
|