Skip to content

Commit

Permalink
Set (non-base) qt env
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Oct 22, 2020
1 parent f588bb0 commit 9dc5e67
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,16 @@ before_install:

install:
- '[ "$TRAVIS_OS_NAME" != linux ] || gem install lcoveralls'
#- '[ "$TRAVIS_OS_NAME" != osx ] || brew link --force qt'

before_script:
#- cppcheck --error-exitcode=1 --quiet
# --suppress=syntaxError:test/unit/src/core/testawsabstractresponse.cpp
# code-generation/src src test
- '[[ "$TRAVIS_OS_NAME" != linux || "$PPA" != */opt-* ]] || . /opt/qt$QT/bin/qt$QT-env.sh'
#- '[[ "$TRAVIS_OS_NAME" != linux || "$PPA" == */opt-* ]] || export QT_SELECT=qt5'
- '[[ "$TRAVIS_OS_NAME" != linux || "$QT" != 5?* ]] || . /opt/qt$QT/bin/qt$QT-env.sh'
- mkdir -p "$TRAVIS_BUILD_DIR-build"
- cmake -B "$TRAVIS_BUILD_DIR-build" -S "$TRAVIS_BUILD_DIR" -L

script:
- '[[ "$TRAVIS_OS_NAME" != linux || "$PPA" != */opt-* ]] || . /opt/qt$QT/bin/qt$QT-env.sh'
- make -C "$TRAVIS_BUILD_DIR-build" -j2 codegen all
#- make -C "$TRAVIS_BUILD_DIR-build" -j2 check TESTARGS=-silent

Expand Down

0 comments on commit 9dc5e67

Please sign in to comment.