travis: suggestions from @jroweboy

This commit is contained in:
liushuyu 2018-04-10 17:49:42 -06:00
parent 9921286f3b
commit d190fd989d
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
#!/bin/bash -e #!/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 docker run -e TRANSIFEX_API_TOKEN="${TRANSIFEX_API_TOKEN}" -v "$(pwd)":/citra alpine /bin/sh -e /citra/.travis/transifex/docker.sh

View File

@ -7,7 +7,7 @@ set -x
echo -e "\e[1m\e[33mInstalling dependencies...\e[0m" echo -e "\e[1m\e[33mInstalling dependencies...\e[0m"
apk update 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 pip3 install transifex-client
@ -18,7 +18,7 @@ tx --version
cd /citra cd /citra
mkdir build && cd build 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 make translation
cd .. cd ..