From 317e648c0dbbdcbb6669c7280cef084a54683ab3 Mon Sep 17 00:00:00 2001 From: Rafael Peria de Sene Date: Tue, 3 Jul 2018 13:42:19 -0300 Subject: [PATCH] Add support for ppc64le (#6116) Signed-off-by: Rafael Peria de Sene --- .travis.yml | 46 +++++++++++++++++++++++---------------- buildscripts/checkdeps.sh | 4 ++-- 2 files changed, 29 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index db4f2f3bd..2b34b5005 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,27 +8,35 @@ dist: trusty language: go -os: -- linux - -env: -- ARCH=x86_64 +matrix: + include: + - os: linux + env: + - ARCH=x86_64 + go: 1.10.1 + script: + - make + - diff -au <(gofmt -s -d cmd) <(printf "") + - diff -au <(gofmt -s -d pkg) <(printf "") + - make test GOFLAGS="-timeout 15m -race -v" + - make coverage + - node --version + - cd browser && yarn && yarn test && cd .. + - os: linux-ppc64le + env: + - ARCH=ppc64le + go: 1.10.1 + script: + - make + - diff -au <(gofmt -s -d cmd) <(printf "") + - diff -au <(gofmt -s -d pkg) <(printf "") + - make test GOFLAGS="-timeout 15m -v" + - make coverage + - node --version + - cd browser && yarn && yarn test && cd .. before_install: - nvm install stable -script: -## Run all the tests -- make -- diff -au <(gofmt -s -d cmd) <(printf "") -- diff -au <(gofmt -s -d pkg) <(printf "") -- make test GOFLAGS="-timeout 15m -race -v" -- make coverage -- node --version -- cd browser && yarn && yarn test && cd .. - after_success: -- bash <(curl -s https://codecov.io/bash) - -go: -- '1.10.1' +- bash <(curl -s https://codecov.io/bash) \ No newline at end of file diff --git a/buildscripts/checkdeps.sh b/buildscripts/checkdeps.sh index d61657e52..84dbf7f4d 100644 --- a/buildscripts/checkdeps.sh +++ b/buildscripts/checkdeps.sh @@ -89,11 +89,11 @@ check_minimum_version() { assert_is_supported_arch() { case "${ARCH}" in - x86_64 | amd64 | aarch64 | arm* ) + x86_64 | amd64 | aarch64 | ppc64le | arm* ) return ;; *) - echo "Arch '${ARCH}' is not supported. Supported Arch: [x86_64, amd64, aarch64, arm*]" + echo "Arch '${ARCH}' is not supported. Supported Arch: [x86_64, amd64, aarch64, ppc64le, arm*]" exit 1 esac }