Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(maint) Fix gettext in Travis CI #455

Merged
merged 1 commit into from
Jul 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .travis_target.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ fi
# Set compiler to GCC 4.8 here, as Travis overrides the global variables.
export CC=gcc-4.8 CXX=g++-4.8

get_gettext() {
wget https://s3.amazonaws.com/kylo-pl-bucket/gettext-0.19.6_install.tar.bz2
tar xjvf gettext-0.19.6_install.tar.bz2 --strip 1 -C $USERDIR
rm -f ../locales/cpp-pcp-client.pot
}

if [ ${TRAVIS_TARGET} == CPPCHECK ]; then
# grab a pre-built cppcheck from s3
wget https://s3.amazonaws.com/kylo-pl-bucket/pcre-8.36_install.tar.bz2
Expand All @@ -20,6 +26,9 @@ if [ ${TRAVIS_TARGET} == CPPCHECK ]; then
elif [ ${TRAVIS_TARGET} == DEBUG ]; then
# Install coveralls.io update utility
pip install --user cpp-coveralls
get_gettext
else
get_gettext
fi

git clone https://github.com/puppetlabs/cpp-pcp-client
Expand Down