Browse Source

Run lupdate in CI

adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
b4c518e075
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      .appveyor.yml
  2. 2
      .travis.yml

2
.appveyor.yml

@ -51,6 +51,8 @@ before_build:
build_script: build_script:
- cd "%REPO_DIR%" - 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 - qmake qbittorrent.pro && cd src && qmake src.pro
- jom -j2 -f Makefile.Release - jom -j2 -f Makefile.Release

2
.travis.yml

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

Loading…
Cancel
Save