diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-11-16 17:48:36 +0100 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-11-16 17:48:36 +0100 |
commit | b980991948e841b4a298b541fdc8fb2616f4ce55 (patch) | |
tree | 635293b203f6ebb70d01ca77f133a10de35cbba8 /.travis.yml | |
parent | e722eda2d903efaef9088e54fd9a5a475d23f4c5 (diff) |
Attempting automagic coverity scan
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 46 |
1 files changed, 26 insertions, 20 deletions
diff --git a/.travis.yml b/.travis.yml index fa56c7ff..4cc73544 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,34 +1,40 @@ language: cpp sudo: false - os: - - linux - - osx - +- linux +- osx compiler: - - gcc - - clang - +- gcc +- clang addons: apt: packages: - qt5-default - install: - - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi - - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew ls | grep -wq qt5 || brew install qt5; fi - - if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH=$PATH:/usr/local/opt/qt5/bin; fi - +- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi +- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew ls | grep -wq qt5 || brew install qt5; + fi +- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH=$PATH:/usr/local/opt/qt5/bin; + fi script: - - qmake -v - - qmake -Wall qtpass.pro - - make -j$(nproc) - +- qmake -v +- qmake -Wall qtpass.pro +- make -j$(nproc) notifications: - - irc: + irc: channels: - - "chat.freenode.net#IJhack" + - chat.freenode.net#IJhack on_success: change on_failure: always - +env: + global: + secure: WaZq3f6KIAc0dnR4WOXYWDvUYiqlrzsZC/PQse47FnvC0oQC65J5w3kJOj/P26DgsUEqKQF3ukXogkM2mp5pS4+CMgivEmQmAbgQTtwcKpC5HPZxgI+8FgkCjcalJKWGWYoxlScNVNiKMs+89ApcSQE9kH9PZeUS9dukN2Php1U= +addons: + coverity_scan: + project: + name: "IJHack/qtpass" + description: "Build submitted via Travis CI" + notification_email: brouwer@annejan.com + build_command_prepend: "qmake; make clean" + build_command: "make -j$(nproc)" + branch_pattern: coverity_scan |