mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add automatic coverity scans
This instructs travis to run automatic coverity scans for us. Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
parent
bca7f8ed61
commit
de53455a75
1 changed files with 8 additions and 38 deletions
46
.travis.yml
46
.travis.yml
|
|
@ -1,18 +1,5 @@
|
|||
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env: SUBSURFACE_PLATFORM='mac'
|
||||
os: osx
|
||||
osx_image: xcode6.4
|
||||
language: c++ ruby
|
||||
|
||||
- env: SUBSURFACE_PLATFORM='windows'
|
||||
os: linux
|
||||
dist: trusty
|
||||
sudo: required
|
||||
language: c++
|
||||
|
||||
- env: SUBSURFACE_PLATFORM='linux'
|
||||
os: linux
|
||||
dist: trusty
|
||||
|
|
@ -46,36 +33,19 @@ matrix:
|
|||
# Not a subsurface dependency, but a QtWebKit dependency
|
||||
- libhyphen-dev
|
||||
- libicu52
|
||||
# For SmartTrak import
|
||||
- libglib2.0-dev
|
||||
- mdbtools-dev
|
||||
|
||||
- env: SUBSURFACE_PLATFORM="android"
|
||||
# Currently hard coded to arm
|
||||
os: linux
|
||||
language: c++
|
||||
filter_secrets: false
|
||||
services:
|
||||
- docker
|
||||
# TODO: caching
|
||||
# cache:
|
||||
# timeout: 300
|
||||
# directories:
|
||||
# - 3pp
|
||||
|
||||
- env: SUBSURFACE_PLATFORM="qt55"
|
||||
# Currently hard coded to arm
|
||||
os: linux
|
||||
language: c++
|
||||
filter_secrets: false
|
||||
services:
|
||||
- docker
|
||||
coverity_scan:
|
||||
project:
|
||||
name: "Subsurface-divelog/subsurface"
|
||||
description: "Build submitted via Travis CI"
|
||||
notification_email: glance@acc.umu.se
|
||||
build_command: bash ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/travisbuild.sh
|
||||
branch_pattern: coverity_scan
|
||||
|
||||
before_install:
|
||||
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/before_install.sh
|
||||
|
||||
script:
|
||||
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/travisbuild.sh
|
||||
- if [ "$COVERITY_SCAN_BRANCH" != "1" ] ; then source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/travisbuild.sh ; fi
|
||||
|
||||
after_success:
|
||||
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/after_success.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue