travis: require arm64 tests to pass
Do not perform coverage analysis on arm64; travis times out.
MODIFY
.travis.yml
.travis.yml
@@ -77,7 +77,6 @@ matrix:
go: master
allow_failures:
- go: master
- - arch: arm64 # TODO(kortschak): Remove this when failures have been resolved.
before_install:
- ${TRAVIS_BUILD_DIR}/.travis/run-parts ${TRAVIS_BUILD_DIR}/.travis/deps.d/${TRAVIS_OS_NAME}

MODIFY
.travis/script.d/test-coverage.sh
.travis/script.d/test-coverage.sh
@@ -5,6 +5,13 @@ if [[ "${TRAVIS_SECURE_ENV_VARS}" != true ]]; then
exit 0
fi
+# FIXME(kortschak): When we have arm64 assembly kernels,
+# reconsider this for the internal/asm packages.
+if [[ $(go env GOARCH) != "amd64" ]]; then
+ echo "skipping coverage - GOARCH != amd64"
+ exit 0
+fi
+
ORIGIN_MASTER="$(git ls-remote origin master | cut -f1)"
CURRENT="$(git rev-parse HEAD)"
if [[ ${ORIGIN_MASTER} != ${CURRENT} ]]; then

travis: require arm64 tests to pass

Do not perform coverage analysis on arm64; travis times out.