From cc94d4d0125fb3629f7464d78fa5091abbd35f27 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Fri, 29 Oct 2021 10:40:30 +0000 Subject: [PATCH] * test: mod_md, trying to build pebble by explicitly installing golang-1.14 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894613 13f79535-47bb-0310-9956-ffa450edef68 --- .travis.yml | 2 +- test/travis_run_linux.sh | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 15f024d612..0d65dc85a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -330,7 +330,7 @@ jobs: - nghttp2-client - python3-cryptography - python3-requests - - golang + - golang-1.14 # ------------------------------------------------------------------------- - name: Linux Ubuntu, APR 1.7.0, APR-util 1.6.1, LDAP env: APR_VERSION=1.7.0 diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh index eb235ce582..950bddac3f 100755 --- a/test/travis_run_linux.sh +++ b/test/travis_run_linux.sh @@ -174,12 +174,11 @@ if ! test -v SKIP_TESTING; then # imports crypto/ed25519: unrecognized import path "crypto/ed25519" (import path does not begin with hostname) # # but works on a docker ubuntu-focal image. ??? - # DISABLED - #export GOPATH=${PREFIX}/gocode - #mkdir -p "${GOPATH}" - #go get -u github.com/letsencrypt/pebble/... - #cd $GOPATH/src/github.com/letsencrypt/pebble && go install ./... - #export PATH="${PATH}:${GOPATH}/bin" + export GOPATH=${PREFIX}/gocode + mkdir -p "${GOPATH}" + export PATH="${PATH}:/usr/lib/go-1.14/bin:${GOPATH}/bin" + go get -u github.com/letsencrypt/pebble/... + cd $GOPATH/src/github.com/letsencrypt/pebble && go install ./... py.test-3 test/modules/md RV=$?