diff options
author | Devid Antonio Floni <d.filoni@ubuntu.com> | 2017-06-20 21:46:59 +0300 |
---|---|---|
committer | Devid Antonio Floni <d.filoni@ubuntu.com> | 2017-06-20 21:49:40 +0300 |
commit | 45060975530e1b635b04c8cdcf18921a232c569a (patch) | |
tree | 1078358d8ec538af931ec6dea6adb2a5d04a1c36 /scripts | |
parent | 0384f9d431e5b86597cb2c376ff3c819d1278eab (diff) |
snap: fix Travis build error
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis-build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/travis-build.sh b/scripts/travis-build.sh index 77a1ad9f0..6203eea89 100755 --- a/scripts/travis-build.sh +++ b/scripts/travis-build.sh @@ -71,7 +71,9 @@ elif [ "$BUILD_TYPE" == "snap" ]; then if [ "$TRAVIS_BUILD_STEP" == "before_install" ]; then if [ -n "$ARCH" ]; then DOCKER_IMAGE="$ARCH/$DOCKER_IMAGE"; fi - docker run --name $DOCKER_BUILDER_NAME -v $PWD:$PWD -w $PWD -td $DOCKER_IMAGE + docker run --name $DOCKER_BUILDER_NAME \ + -e LC_ALL=C.UTF-8 -e LANG=C.UTF-8 \ + -v $PWD:$PWD -w $PWD -td $DOCKER_IMAGE elif [ "$TRAVIS_BUILD_STEP" == "install" ]; then docker_exec apt-get update -q docker_exec apt-get install -y cmake git-core snapcraft |