From 0e316d7032c6781a3ae43d072cd990398244d437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Sun, 29 Jul 2018 11:55:48 +0300 Subject: ci: do bootstrap outside the docker container This way the docker container in itself does no networking. It seems like travis disabled network access from the actual docker containers. (cherry picked from commit 2d785f3ea39d6779a6ac44d85d7cdc0acf891f43) --- .travis.yml | 1 + ci/build-mingw64.sh | 1 - ci/build-tumbleweed.sh | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddc8c51d6a..56d908d77c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,7 @@ branches: before_install: - docker pull $CONTAINER script: + - ./bootstrap.py - docker run --env CC --env TARGET -v $TRAVIS_BUILD_DIR:/build $CONTAINER /bin/sh -c "cd /build && $CI_SCRIPT" after_failure: cat ./build/config.log after_script: TOOLS/travis-rebuild-website diff --git a/ci/build-mingw64.sh b/ci/build-mingw64.sh index c60f70e421..3be2d9d9ad 100755 --- a/ci/build-mingw64.sh +++ b/ci/build-mingw64.sh @@ -16,7 +16,6 @@ export RANLIB=$TARGET-ranlib export CFLAGS="-O2 -mtune=intel -g -ggdb -pipe -Wall --param=ssp-buffer-size=4 -mms-bitfields -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fstack-protector-strong -fno-ident" export LDFLAGS="-Wl,--no-keep-memory -fstack-protector-strong" -./bootstrap.py ./waf configure \ --enable-static-build \ --enable-libmpv-shared \ diff --git a/ci/build-tumbleweed.sh b/ci/build-tumbleweed.sh index b7d6b56d56..c626aff660 100755 --- a/ci/build-tumbleweed.sh +++ b/ci/build-tumbleweed.sh @@ -1,7 +1,6 @@ #!/bin/sh set -e -./bootstrap.py ./waf configure \ --enable-cdda \ --enable-dvbin \ -- cgit v1.2.3