0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00
zot/.travis.yml

30 lines
821 B
YAML
Raw Normal View History

2019-06-20 18:36:40 -05:00
language: go
2019-06-26 13:57:21 -05:00
go:
- 1.14.x
2019-06-26 13:57:21 -05:00
env:
- GO111MODULE=on
2019-06-20 18:36:40 -05:00
matrix:
include:
- os: linux
notifications:
email: false
cache:
directories:
- $HOME/.bzrepos
- $HOME/.cache/bazel
2019-06-20 18:36:40 -05:00
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget -N https://github.com/bazelbuild/bazel/releases/download/3.0.0/bazel-3.0.0-installer-linux-x86_64.sh && chmod +x bazel-3.0.0-installer-linux-x86_64.sh && ./bazel-3.0.0-installer-linux-x86_64.sh --user; 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 40 make && travis_wait 40 make -f Makefile.bazel build; fi
after_success:
- bash <(curl -s https://codecov.io/bash)