From 496555fd18219cb902d7683b3f08dd2e47cbdc1a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 11 Apr 2019 20:14:56 +0200 Subject: patch 8.1.1154: getting a newer msgfmt on Travis is too complicated Problem: Getting a newer msgfmt on Travis is too complicated. Solution: Use a "sourcline" entry. (Ozaki Kiichi, closes #4236) --- .travis.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 1c8cc2ebf2..d683b13ef3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -69,10 +69,14 @@ branches: addons: apt: + sources: + # Need msgfmt 0.19.8 to be able to generate .desktop files + - sourceline: 'ppa:ricotz/toolchain' packages: - autoconf - clang - lcov + - gettext - libperl-dev - python-dev - python3-dev @@ -115,13 +119,6 @@ before_install: if [[ "${TRAVIS_OS_NAME}" = "linux" ]] && [[ "${CC}" = "clang" ]]; then ln -sf "$(which llvm-cov)" /home/travis/bin/gcov fi - # Need msgfmt 0.19.8 to be able to generate .desktop files - - | - if [[ "${TRAVIS_OS_NAME}" = "linux" ]]; then - sudo add-apt-repository ppa:ricotz/toolchain -y && - sudo apt-get update -q && - sudo apt-get install gettext=0.19.8.1-1ubuntu2~14.04~ricotz1 -y - fi before_script: # Start virtual framebuffer to be able to test the GUI. Does not work on OS X. -- cgit v1.2.3