2016-11-04 14:55:12 +01:00
|
|
|
language: cpp
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2017-02-06 11:48:14 +01:00
|
|
|
|
2016-11-04 14:55:12 +01:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2017-02-06 11:48:14 +01:00
|
|
|
|
2016-11-04 14:55:12 +01:00
|
|
|
os:
|
|
|
|
- linux
|
2017-02-06 11:48:14 +01:00
|
|
|
|
2016-11-07 11:22:04 +01:00
|
|
|
script:
|
2016-11-07 14:04:55 +01:00
|
|
|
- if [[ "$TRAVIS_EVENT_TYPE" == "cron" ]]; then
|
2017-03-08 15:57:16 +01:00
|
|
|
export CXX=g++-5;
|
2016-11-08 15:47:51 +01:00
|
|
|
./runCoverityAnalysis.sh;
|
2016-11-07 14:04:55 +01:00
|
|
|
./runSonarQubeAnalysis.sh;
|
|
|
|
else
|
2017-02-06 15:20:09 +01:00
|
|
|
make CXX=g++-5 -j4;
|
2016-11-07 14:04:55 +01:00
|
|
|
fi
|
2017-02-06 11:48:14 +01:00
|
|
|
|
2016-11-04 14:55:12 +01:00
|
|
|
addons:
|
2016-11-07 11:22:04 +01:00
|
|
|
sonarqube: true
|
2016-11-04 14:55:12 +01:00
|
|
|
apt:
|
2017-02-06 11:48:14 +01:00
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2016-11-04 14:55:12 +01:00
|
|
|
packages:
|
2017-02-06 15:20:09 +01:00
|
|
|
- g++-5
|
2016-11-04 14:55:12 +01:00
|
|
|
- libssl-dev
|