dmatetelki 8 years ago
commit eb7f6bc383

@ -4,15 +4,24 @@ language:
compiler: compiler:
- gcc - gcc
env:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "dG3gXqI65d45f7S6KrlqCgFun0id9Tw5tYOSud9lEYVvri6Qh6nJXEiqqVAsaZhZ7I/0cLMCQNmof3voFmOXpU+3NgQ3+t/vpe6PW65phR5O7hQl05YMApyP5ipq+KozLUL6ZAgX7eaU95rI/iPGYMfcZ2W3Jl7szGpxaZZOKrM="
before_install: before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq - sudo apt-get update -qq
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.9; fi - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.9; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
env: #env:
- BUILD_TYPE=Debug #- BUILD_TYPE=Debug
- BUILD_TYPE=Release #- BUILD_TYPE=Release
install: install:
- cmake . - cmake .
@ -20,4 +29,20 @@ install:
script: script:
- cd test - cd test
- ./test_bin - ./test_bin
#before_install:
#- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
addons:
coverity_scan:
project:
name: "cs0rbagomba/graph"
description: "Build submitted via Travis CI"
notification_email: denes.matetelki@gmail.com
#build_command_prepend: "./configure; make clean"
build_command_prepend: "cmake ."
build_command: "make -j 4"
branch_pattern: master

@ -1,9 +1,4 @@
Playing with a graph as a data structure and the algorithms. Playing with a graph as a data structure and the algorithms.
Build status (on Travis CI) [![Build Status](https://travis-ci.org/cs0rbagomba/graph.png)](https://travis-ci.org/cs0rbagomba/graph) Build status (on Travis CI) [![Build Status](https://travis-ci.org/cs0rbagomba/graph.png)](https://travis-ci.org/cs0rbagomba/graph)
Coverage status (scan.coverity.com) [![Coverity Status](https://scan.coverity.com/projects/cs0rbagomba/graph)](https://scan.coverity.com/projects/cs0rbagomba-graph)
Coverage status (scan.coverity.com)
<a href="https://scan.coverity.com/projects/cs0rbagomba-graph">
<img alt="Coverity Scan Build Status"
src="https://scan.coverity.com/projects/11665/badge.svg"/>
</a>

Loading…
Cancel
Save