Browse Source
* ci: add tests on s390x and ppc64le * ci: use Travis as CI for ppc64le and s390x * ci: cache Go builds on Travis * ci: avoid Travis duplicate buildsmaster
Mohammed Al Sahaf
5 years ago
committed by
GitHub
1 changed files with 24 additions and 0 deletions
@ -0,0 +1,24 @@ |
|||||
|
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 |
Loading…
Reference in new issue