gnulib: update

This update brings file from Gettext 0.20, which is not available on
the CI yet.

.travis.yml: Adjust.
Use Bionic now that it's available.
This commit is contained in:
Akim Demaille
2019-09-01 17:56:38 +02:00
parent 989a7aa865
commit 3f4ad2cd24
2 changed files with 11 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ jobs:
- stage: "compile" - stage: "compile"
git: git:
clone: true clone: true
dist: xenial dist: bionic
script: script:
- sudo apt-get install -qq autoconf automake autopoint flex gettext graphviz help2man m4 texinfo - sudo apt-get install -qq autoconf automake autopoint flex gettext graphviz help2man m4 texinfo
- autoconf --version - autoconf --version
@@ -49,15 +49,20 @@ jobs:
- git submodule update --init --recursive - git submodule update --init --recursive
- ./bootstrap - ./bootstrap
- ./configure --enable-gcc-warnings CC="$CC" CXX="$CXX" $CONFIGUREFLAGS || { cat config.log && false; } # gnulib-po/Makefile.in.in is about Gettext 0.20, which is not available in bionic. So it will break here. Override it. Don't use autopoint, which sends some other files in the past.
- cp po/Makefile.in.in gnulib-po
- ./configure --enable-gcc-warnings || { cat config.log && false; }
- make -j2 - make -j2
- make -j2 dist - make -j2 dist
- dist=$(echo bison*.xz) - dist=$(echo bison*.xz)
# Unfortunately we cannot deterministically know the name of the tarball without the full # Unfortunately we cannot deterministically know the name of the tarball without the full
# git history (because git describe --abbrev=4 may use more than 4 characters if there are # git history (because git describe --abbrev=4 may use more than 4 characters if there are
# conflicts). Besides, one day we would like not to depend on the repository at all in the # conflicts).
# 'test' jobs. So also expose this tarball on a name that only depends on the Travis build #
# number. # So for the sake of the 'test' jobs (that don't even have the repo at all), also expose this
# tarball on a name that only depends on the Travis build number.
# #
# Without -b -, exit status is always 0. # Without -b -, exit status is always 0.
- sftp -b - bison@sftp.lrde.epita.fr <<< "put $dist"$'\n'"ln -s $dist bison-$TRAVIS_BUILD_NUMBER.tar.xz" - sftp -b - bison@sftp.lrde.epita.fr <<< "put $dist"$'\n'"ln -s $dist bison-$TRAVIS_BUILD_NUMBER.tar.xz"

2
gnulib

Submodule gnulib updated: ee77e5c1fe...231b2a884f