From 1370d3f96b8f8845ad3d2a96742b175ddfd78f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20=C5=9Eahin=20HAMZA?= Date: Fri, 1 May 2020 16:41:28 +0300 Subject: [PATCH] Fix Travis CI translation errors --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b38dad9..0e70086 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,14 +22,13 @@ script: - qmake -v - clang++ -v - g++-8 -v + # Linguist test that translation source files can be compiled + # correctly and will hopefully catch syntax errors earlier + # We want the build to fail if we can't compile translations. + - ./build.sh linguist - qmake silentdragon.pro CONFIG+=release -spec linux-clang - make CC=clang CXX=clang++ -j2 - make distclean - qmake silentdragon.pro CONFIG+=release -spec linux-g++ -# These next 2 lines test that translation source files can be compiled -# correctly and will hopefully catch syntax errors earlier -# We want the build to fail if we can't compile translations. - - lupdate silentdragon.pro - - lrelease silentdragon.pro - res/libsodium/buildlibsodium.sh - make CC=gcc-8 CXX=g++-8 -j2