1
0
mirror of https://github.com/SmartHoneybee/ubiquitous-memory synced 2025-04-30 15:49:39 +02:00

Update .travis.yml (#24)

This commit is contained in:
Bee 2018-04-15 11:28:06 +02:00 committed by GitHub
parent 8e48ad9fd6
commit 73a0247466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ env:
- SRCROOT="${GOPATH}/src/github.com/mattermost" - SRCROOT="${GOPATH}/src/github.com/mattermost"
- GOARM=7 - GOARM=7
matrix: matrix:
- V=4.8.0 - V=4.9.0
before_install: before_install:
- install -d "${GOPATH}" "${GOROOT}" "${SRCROOT}/mattermost-"{server,webapp} - install -d "${GOPATH}" "${GOROOT}" "${SRCROOT}/mattermost-"{server,webapp}
# download & extract golang # download & extract golang
@ -43,6 +43,8 @@ script:
- ln -s "${GOPATH}/bin/linux_arm/platform" "${GOPATH}/bin/linux_amd64/platform" - ln -s "${GOPATH}/bin/linux_arm/platform" "${GOPATH}/bin/linux_amd64/platform"
# install dependencies # install dependencies
- go get -d github.com/mattermost/mattermost-server/... - go get -d github.com/mattermost/mattermost-server/...
# revert reverted commit, https://github.com/mattermost/mattermost-server/pull/8537
- wget -qO - https://patch-diff.githubusercontent.com/raw/mattermost/mattermost-server/pull/8537.patch | patch -d "${SRCROOT}/mattermost-server" -Rp1
# workaround (instead of patch): overwrite GO variable to enforce desired GOARCH # workaround (instead of patch): overwrite GO variable to enforce desired GOARCH
- make config-reset build-linux package-linux -C "${SRCROOT}/mattermost-server" GO="GOARCH=arm $(which go)" BUILD_NUMBER="dev-arm-tag${V}" - make config-reset build-linux package-linux -C "${SRCROOT}/mattermost-server" GO="GOARCH=arm $(which go)" BUILD_NUMBER="dev-arm-tag${V}"
# workaround (instead of patch): Makefile creates *-amd64.tar.gz # workaround (instead of patch): Makefile creates *-amd64.tar.gz