summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMohammed Al Sahaf <[email protected]>2020-05-03 02:24:54 +0300
committerGitHub <[email protected]>2020-05-02 17:24:54 -0600
commite051e119d1dff75972ed9b07cf97bbb989ba8daa (patch)
treef6ac86cd619a7c85fd83b1c3bb3c32e2072674c9
parent8e4266106034819fa0f4be8f0efbd628eb3e1634 (diff)
downloadcaddy-2.0.0.tar.gz
caddy-2.0.0.zip
ci: add tests on s390x and ppc64le (#3328)v2.0.0
* 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
-rw-r--r--.travis.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..d5dc30365
--- /dev/null
+++ b/.travis.yml
@@ -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