Run lupdate in CI

This commit is contained in:
Chocobo1 2019-11-11 13:24:33 +08:00
parent 9ef2cd48e0
commit b4c518e075
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 4 additions and 0 deletions

View file

@ -51,6 +51,8 @@ before_build:
build_script:
- cd "%REPO_DIR%"
# scan only as lupdate is prone to hang
- lupdate -extensions c,cpp,h,hpp,ui .
- qmake qbittorrent.pro && cd src && qmake src.pro
- jom -j2 -f Makefile.Release

View file

@ -205,6 +205,8 @@ script:
- |
cd "$TRAVIS_BUILD_DIR"
if [ "$build_system" = "qmake" ]; then
# scan only as lupdate is prone to hang
lupdate -extensions c,cpp,h,hpp,ui ./
./bootstrap.sh
./configure $qmake_conf CXXFLAGS="$CXXFLAGS"
else