@marcel91200 / caddy Mirror · read-only / commits / e051e119
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 14, 05:15 UTC

ci: add tests on s390x and ppc64le (#3328)

* 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 builds

Mohammed Al Sahaf committed May 3, 2020 at 02:24 UTC e051e119d1dff75972ed9b07cf97bbb989ba8daa
1 file changed +24
.travis.yml new
+24
@@ -0,0 +1,24 @@
1 +branches:
2 + only:
3 + - master
4 +language: go
5 +go:
6 + - 1.14.x
7 +dist: bionic
8 +arch:
9 + - ppc64le
10 + - s390x
11 +env:
12 + - GO111MODULE=on CGO_ENABLED=0
13 +cache:
14 + directories:
15 + - $GOPATH/pkg/mod
16 + - /home/travis/.cache/go-build
17 +git:
18 + depth: 1
19 +
20 +install:
21 + - go get -v -t -d ./...
22 +script:
23 + - go test -v -short ./...
24 + - go build -trimpath -ldflags="-w -s" -v -o cmd/caddy/caddy cmd/caddy/main.go