mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-23 06:36:16 +08:00
25 lines
383 B
YAML
25 lines
383 B
YAML
|
branches:
|
||
|
only:
|
||
|
- master
|
||
|
language: go
|
||
|
go:
|
||
|
- 1.14.x
|
||
|
dist: bionic
|
||
|
arch:
|
||
|
- ppc64le
|
||
|
- s390x
|
||
|
env:
|
||
|
- GO111MODULE=on CGO_ENABLED=0
|
||
|
cache:
|
||
|
directories:
|
||
|
- $GOPATH/pkg/mod
|
||
|
- /home/travis/.cache/go-build
|
||
|
git:
|
||
|
depth: 1
|
||
|
|
||
|
install:
|
||
|
- go get -v -t -d ./...
|
||
|
script:
|
||
|
- go test -v -short ./...
|
||
|
- go build -trimpath -ldflags="-w -s" -v -o cmd/caddy/caddy cmd/caddy/main.go
|