From d190fd989d9c0be49343da3615c0182f801aa705 Mon Sep 17 00:00:00 2001 From: liushuyu Date: Tue, 10 Apr 2018 17:49:42 -0600 Subject: [PATCH] travis: suggestions from @jroweboy --- .travis/transifex/build.sh | 1 - .travis/transifex/docker.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis/transifex/build.sh b/.travis/transifex/build.sh index 904657525..7778e9a91 100755 --- a/.travis/transifex/build.sh +++ b/.travis/transifex/build.sh @@ -1,4 +1,3 @@ #!/bin/bash -e -echo "+docker run -e TRANSIFEX_API_TOKEN=[REDACTED] -v $(pwd):/citra alpine /bin/sh -e /citra/.travis/transifex/docker.sh" docker run -e TRANSIFEX_API_TOKEN="${TRANSIFEX_API_TOKEN}" -v "$(pwd)":/citra alpine /bin/sh -e /citra/.travis/transifex/docker.sh diff --git a/.travis/transifex/docker.sh b/.travis/transifex/docker.sh index 24bf01084..175d8e50e 100644 --- a/.travis/transifex/docker.sh +++ b/.travis/transifex/docker.sh @@ -7,7 +7,7 @@ set -x echo -e "\e[1m\e[33mInstalling dependencies...\e[0m" apk update -apk add build-base sdl2-dev cmake python3-dev qt5-qttools-dev +apk add build-base cmake python3-dev qt5-qttools-dev pip3 install transifex-client @@ -18,7 +18,7 @@ tx --version cd /citra mkdir build && cd build -cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release +cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF make translation cd ..