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:
|
matrix:
|
||||||
include:
|
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'
|
- env: SUBSURFACE_PLATFORM='linux'
|
||||||
os: linux
|
os: linux
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
@ -46,36 +33,19 @@ matrix:
|
||||||
# Not a subsurface dependency, but a QtWebKit dependency
|
# Not a subsurface dependency, but a QtWebKit dependency
|
||||||
- libhyphen-dev
|
- libhyphen-dev
|
||||||
- libicu52
|
- libicu52
|
||||||
# For SmartTrak import
|
coverity_scan:
|
||||||
- libglib2.0-dev
|
project:
|
||||||
- mdbtools-dev
|
name: "Subsurface-divelog/subsurface"
|
||||||
|
description: "Build submitted via Travis CI"
|
||||||
- env: SUBSURFACE_PLATFORM="android"
|
notification_email: glance@acc.umu.se
|
||||||
# Currently hard coded to arm
|
build_command: bash ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/travisbuild.sh
|
||||||
os: linux
|
branch_pattern: coverity_scan
|
||||||
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
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/before_install.sh
|
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/before_install.sh
|
||||||
|
|
||||||
script:
|
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:
|
after_success:
|
||||||
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/after_success.sh
|
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/after_success.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue