Skip to content

Commit

Permalink
Travis CI: Ignore expired certificate reported by wget
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmai committed Oct 21, 2021
1 parent 2d4de88 commit 426d92f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -619,9 +619,10 @@ before_install:
- if [[ "$CROSS_GCC_VER" != "" ]]; then
if [[ "$NOLIBC_DELIM" == "" ]]; then NOLIBC_DELIM=-; fi;
BUILD_ARCH=x86_64;
TAR_FOLDER_URL=https://www.kernel.org/pub/tools/crosstool/files/bin/$BUILD_ARCH/$CROSS_GCC_VER;
KERNEL_ORG_PUB_SITE=https://www.kernel.org/pub;
TAR_FOLDER_URL=$KERNEL_ORG_PUB_SITE/tools/crosstool/files/bin/$BUILD_ARCH/$CROSS_GCC_VER;
TARFILE=$BUILD_ARCH-gcc-$CROSS_GCC_VER-nolibc$NOLIBC_DELIM$NOLIBC_ARCH_ABI.tar.xz;
wget -O - $TAR_FOLDER_URL/$TARFILE | tar xf - --xz --directory ~;
wget --no-check-certificate -O - $TAR_FOLDER_URL/$TARFILE | tar xf - --xz --directory ~;
CROSS_CC=~/gcc-$CROSS_GCC_VER-nolibc/$NOLIBC_ARCH_ABI/bin/$NOLIBC_ARCH_ABI-gcc;
export C_INCLUDE_PATH=/usr/include;
MAKEFILE_TARGET=check-nolink;
Expand All @@ -633,17 +634,17 @@ before_install:
fi
- if [[ "$M4_VER" != "" ]]; then
M4_XZ_URL=$GNU_DOWNLOAD_SITE/m4/m4-$M4_VER.tar.xz;
wget -O - $M4_XZ_URL | tar xf - --xz --directory ~;
wget --no-check-certificate -O - $M4_XZ_URL | tar xf - --xz --directory ~;
(cd ~/m4-$M4_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j check && make install);
fi
- if [[ "$LIBTOOL_VER" != "" ]]; then
LIBTOOL_XZ_URL=$GNU_DOWNLOAD_SITE/libtool/libtool-$LIBTOOL_VER.tar.xz;
wget -O - $LIBTOOL_XZ_URL | tar xf - --xz --directory ~;
wget --no-check-certificate -O - $LIBTOOL_XZ_URL | tar xf - --xz --directory ~;
(cd ~/libtool-$LIBTOOL_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j && make install);
fi
- if [[ "$AUTOMAKE_VER" != "" ]]; then
AUTOMAKE_XZ_URL=$GNU_DOWNLOAD_SITE/automake/automake-$AUTOMAKE_VER.tar.xz;
wget -O - $AUTOMAKE_XZ_URL | tar xf - --xz --directory ~;
wget --no-check-certificate -O - $AUTOMAKE_XZ_URL | tar xf - --xz --directory ~;
(cd ~/automake-$AUTOMAKE_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j && make install);
fi
- if [[ "$MAKEFILE_TARGET" == "dist"* ]]; then
Expand Down

0 comments on commit 426d92f

Please sign in to comment.