From 29d9a4d36459410c91444b114b00a5643006d940 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 21 Jul 2014 23:44:36 -0600 Subject: [PATCH] Add "linux/arm" to Travis Docker-DCO-1.1-Signed-off-by: Andrew Page (github: tianon) --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4542eb0c..20f4191a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ env: - _GOOS=linux _GOARCH=amd64 CGO_ENABLED=0 # - _GOOS=linux _GOARCH=386 CGO_ENABLED=1 # TODO add this once Travis can handle it (https://github.com/travis-ci/travis-ci/issues/2207#issuecomment-49625061) - _GOOS=linux _GOARCH=386 CGO_ENABLED=0 -# - _GOOS=linux _GOARCH=arm CGO_ENABLED=0 # TODO add this once GVM supports it properly (https://github.com/moovweb/gvm/pull/92) + - _GOOS=linux _GOARCH=arm CGO_ENABLED=0 install: - mkdir -pv "${GOPATH%%:*}/src/github.com/docker" && [ -d "${GOPATH%%:*}/src/github.com/docker/libcontainer" ] || ln -sv "$(readlink -f .)" "${GOPATH%%:*}/src/github.com/docker/libcontainer" @@ -31,4 +31,4 @@ script: - if [ "$TRAVIS_GLOBAL_WTF" ]; then bash "$DOCKER_PATH/hack/make/validate-dco"; fi - if [ "$TRAVIS_GLOBAL_WTF" ]; then bash "$DOCKER_PATH/hack/make/validate-gofmt"; fi - if [ -z "$TRAVIS_GLOBAL_WTF" ]; then go build -v ./...; fi - - if [ -z "$TRAVIS_GLOBAL_WTF" ]; then go test -v ./...; fi + - if [ -z "$TRAVIS_GLOBAL_WTF" -a "$GOARCH" != 'arm' ]; then go test -v ./...; fi